Module Values.ValidationExceptionFieldSource

Stores information about a field passed inside a request that resulted in an validation error.

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

    The name of the field.

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

    A message describing why this field failed validation.

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