Module Values.ValidationExceptionSource

Contains information about data passed in to a field during a request that is not valid.

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

    A message that describes the validation exception.

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

    The reason the validation exception was thrown.

    *)
  3. fields : ValidationExceptionFields.t option;
}
Sourceval make : ?message:??? -> ?reason:??? -> ?fields:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of ErrorNameString.t ]) list ] list | `String of ErrorMessageString.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