Catch.Rd
A class for creating a Catch block.
stepfunctions::Block
-> Catch
new()
Initialize a Catch block.
Catch$new(next_step, error_equals, ...)
next_step
(State or Chain): Next state or chain to transition to.
error_equals
(list(str)): Non-empty list of strings, which match Error Names https://states-language.net/spec.html#error-names. When a state reports an error, the interpreter scans through the catchers and, when the Error Name appears in the value of of a catcher's `error_equals` field, transitions to the `next_step` described in the catcher.
...
: Extra field names to pass to Block class
allowed_fields()
allowed extra fields
Catch$allowed_fields()
to_list()
Convert class to list ready to be translated for Amazon States Language https://states-language.net/spec.html.
Catch$to_list()
clone()
The objects of this class are cloneable with this method.
Catch$clone(deep = FALSE)
deep
Whether to make a deep clone.