Module Values.ValidationExceptionSource

A structure defining a validation exception.

Sourcetype nonrec t = {
  1. fieldList : ValidationExceptionFieldList.t option;
    (*

    A list of the fields in which the validation exception occurred.

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

    An error message describing the validation exception.

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

    The reason why the validation exception occurred (one of unknownOperation, cannotParse, fieldValidationFailed, or other).

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