Module Values.ValidationExceptionFieldSource

This object is used in the ValidationException error.

Sourcetype nonrec t = {
  1. name : FieldName.t option;
    (*

    Name of the field which failed validation.

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

    Explanation of the reason for the validation error.

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