CatchProps¶
-
class
aws_cdk.aws_stepfunctions.
CatchProps
(*, errors=None, result_path=None)¶ Bases:
object
Error handler details.
- Parameters
errors (
Optional
[List
[str
]]) – Errors to recover from by going to the given state. A list of error strings to retry, which can be either predefined errors (for example Errors.NoChoiceMatched) or a self-defined error. Default: All errorsresult_path (
Optional
[str
]) – JSONPath expression to indicate where to inject the error data. May also be the special value DISCARD, which will cause the error data to be discarded. Default: $
Attributes
-
errors
¶ Errors to recover from by going to the given state.
A list of error strings to retry, which can be either predefined errors (for example Errors.NoChoiceMatched) or a self-defined error.
- Default
All errors
- Return type
Optional
[List
[str
]]
-
result_path
¶ JSONPath expression to indicate where to inject the error data.
May also be the special value DISCARD, which will cause the error data to be discarded.
- Default
$
- Return type
Optional
[str
]