Module Values.ErrorDetailSource

Provides information about a Amazon Q Business request error.

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

    The message explaining the Amazon Q Business request error.

    *)
  2. errorCode : ErrorCode.t option;
    (*

    The code associated with the Amazon Q Business request error.

    *)
}
Sourceval make : ?errorMessage:??? -> ?errorCode:??? -> 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