Module Values.WarningSource

The warning code and message that explains a problem with a query.

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

    The message that explains the problem with the query.

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

    The code used to show the type of warning for the query.

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