Module Values.EvaluationFailedEventDetailsSource

Contains details about an evaluation failure that occurred while processing a state, for example, when a JSONata expression throws an error. This event will only be present in state machines that have QueryLanguage set to JSONata, or individual states set to JSONata.

Sourcetype nonrec t = {
  1. error : SensitiveError.t option;
    (*

    The error code of the failure.

    *)
  2. cause : SensitiveCause.t option;
    (*

    A more detailed explanation of the cause of the failure.

    *)
  3. location : EvaluationFailureLocation.t option;
    (*

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

    *)
  4. state : StateName.t option;
    (*

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

    *)
}
Sourceval make : ?error:??? -> ?cause:??? -> ?location:??? -> ?state:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SensitiveError.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t