MockErrorOutput
¶
Source code in docs_src/capo_sfn/types/mock_error_output.py
cause
instance-attribute
¶
cause: NotRequired[SensitiveCause]
A string containing the cause of the exception thrown when executing the state's logic.
error
instance-attribute
¶
error: NotRequired[SensitiveError]
A string denoting the error code of the exception thrown when invoking the tested state. This field is required if mock.errorOutput is specified.