Re:Easily Create Complex Workflows with AWS Step Functions
by forrestbrazeal on Saturday February 25, 2017 @06:45PM
(#13734627)
I don't think you can set custom error names from a Lambda function:
"Important
Custom Error Names, like those shown above ("ErrorA", "ErrorB", etc.) can be generated by an Activity, but not Lambda Functions. (See "FunctionError" field in the Lambda Response Syntax for more information"[0]
"Important Custom Error Names, like those shown above ("ErrorA", "ErrorB", etc.) can be generated by an Activity, but not Lambda Functions. (See "FunctionError" field in the Lambda Response Syntax for more information"[0]
[0] https://docs.aws.amazon.com/step-functions/latest/dg/concept...