Module Values.ErrorDetailSource

Contains detailed error information explaining why an operation failed, including which field caused the error and the reason for the failure.

Sourcetype nonrec t = {
  1. field : GenericString.t option;
    (*

    The name of the field that contains an error or warning.

    *)
  2. reason : GenericString.t option;
    (*

    A detailed description of the error or warning.

    *)
}
Sourceval make : ?field:??? -> ?reason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of GenericString.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