Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow functions to return errorType in addition to errorMessage #59

Open
savaki opened this issue Sep 3, 2017 · 0 comments
Open

allow functions to return errorType in addition to errorMessage #59

savaki opened this issue Sep 3, 2017 · 0 comments

Comments

@savaki
Copy link
Contributor

savaki commented Sep 3, 2017

Currently, when functions return an error the error.Error() is embedded into an error type. However, when using apex with AWS Step Functions, error handling is triggered on errorType rather than errorMessage.

I see function.InvokeError contains a Type field, but I can't find anywhere where it's being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant