A class for creating a Catch block.

Super class

stepfunctions::Block -> Catch

Methods

Public methods

Inherited methods

Method new()

Initialize a Catch block.

Usage

Catch$new(next_step, error_equals, ...)

Arguments

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


Method allowed_fields()

allowed extra fields

Usage

Catch$allowed_fields()


Method to_list()

Convert class to list ready to be translated for Amazon States Language https://states-language.net/spec.html.

Usage

Catch$to_list()


Method clone()

The objects of this class are cloneable with this method.

Usage

Catch$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.