Skip to content

EvaluationFailedEventDetails

Source code in docs_src/capo_sfn/types/evaluation_failed_event_details.py
class EvaluationFailedEventDetails(TypedDict, closed=True):
    error: NotRequired["capo_sfn.types.sensitive_error.SensitiveError"]
    """<p>The error code of the failure.</p>"""
    cause: NotRequired["capo_sfn.types.sensitive_cause.SensitiveCause"]
    """<p>A more detailed explanation of the cause of the failure.</p>"""
    location: NotRequired[
        "capo_sfn.types.evaluation_failure_location.EvaluationFailureLocation"
    ]
    """<p>The location of the field in the state in which the evaluation error occurred.</p>"""
    state: "capo_sfn.types.state_name.StateName"
    """<p>The name of the state in which the evaluation error occurred.</p>"""

cause instance-attribute

cause: NotRequired[SensitiveCause]

A more detailed explanation of the cause of the failure.

error instance-attribute

error: NotRequired[SensitiveError]

The error code of the failure.

location instance-attribute

location: NotRequired[EvaluationFailureLocation]

The location of the field in the state in which the evaluation error occurred.

state instance-attribute

state: StateName

The name of the state in which the evaluation error occurred.