From the course: AWS for Developers: Step Functions
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Standard error names for Step Functions - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: Step Functions
Standard error names for Step Functions
- [Narrator] Because state machines can be used to create workflows for pretty much anything, it's important to have standard naming for errors so that you can capture them and react accordingly. This is applies to both state machines internals, such as failure due to a bad input or a choice state that has a missing condition, and to lambda specific errors. Let's take a look at both. As state machine can fail just like any software would in response to network connectivity, bad or corrupt EMPA data and so on. The default behavior is that the entire workflow will be considered failed when an error occurs. Keep in mind, the following names are case sensitive as is everything in state functions. State.all. This is a catch-all reference that matches any non-error except for the following: States.Runtime, which is triggered by corrupt input or output, or perhaps a blank JSON document when data is suspected. This error…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.