Module Values.StatusDetailsSource

Details about the status of a resource.

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

    The status code that was returned. The status code is intended for programmatic error handling. Clean Rooms ML will not change the status code for existing error conditions.

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

    The error message that was returned. The message is intended for human consumption and can change at any time. Use the statusCode for programmatic error handling.

    *)
}
Sourceval make : ?statusCode:??? -> ?message:??? -> 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