Module Values.ErrorInfoSource

Provides details in the event of a failed flow, including the error type and the related error message.

Sourcetype nonrec t = {
  1. errorMessage__lc1 : ErrorMessage.t option;
    (*

    Specifies the error message that appears if a flow fails.

    *)
  2. errorType : ErrorDetails.t option;
    (*

    Specifies the type of error.

    *)
}
Sourceval make : ?errorMessage__lc1:??? -> ?errorType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ErrorMessage.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