Module Values.ValidationExceptionSource

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

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

    A summary of the validation failure.

    *)
  2. fieldList : ValidationExceptionFieldList.t option;
    (*

    A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.

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