Fail.Rd
Fail State terminates the machine and marks it as a failure.
stepfunctions::Block
-> stepfunctions::State
-> Fail
Inherited methods
new()
Initialize Fail state class
Fail$new(state_id, error = NULL, cause = NULL, comment = NULL, ...)
state_id
(str): State name whose length **must be** less than or equal to 128 unicode characters. State names **must be** unique within the scope of the whole state machine.
error
(str): Error name that can be used for error handling (retry/catch), operational, or diagnostic purposes.
cause
(str): Human-readable message describing the cause of the failure/error.
comment
(str, optional): Human-readable comment or description. (default: None).
...
: Extra field names to pass to Block class
allowed_fields()
allowed extra fields
Fail$allowed_fields()
clone()
The objects of this class are cloneable with this method.
Fail$clone(deep = FALSE)
deep
Whether to make a deep clone.