课程: AWS for Developers: Step Functions
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Standard error names for Step Functions - Amazon Web Services (AWS)教程
课程: 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…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。