apex-go icon indicating copy to clipboard operation
apex-go copied to clipboard

allow functions to return errorType in addition to errorMessage

Open savaki opened this issue 8 years ago • 0 comments

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.

savaki avatar Sep 03 '17 15:09 savaki