Module Values.ValidationErrorSource

One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.

Sourcetype nonrec t = {
  1. reasons : ErrorDetailList.t option;
    (*

    A list of validation error details, where each item identifies a specific field that failed validation and explains the reason for the failure.

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

    A message describing the validation error error that occurred.

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