Module Values.ProtectedQueryErrorSource

Details of errors thrown by the protected query.

Sourcetype nonrec t = {
  1. message : String_.t option;
    (*

    A description of why the query failed.

    *)
  2. code : String_.t option;
    (*

    An error code for the error.

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