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.
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.