Module Values.ValidationExceptionFieldSource

Contains information about a field that failed validation, including the field name and a descriptive error message.

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

    The name of the field that failed validation.

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

    A message that describes why the 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