Module Values.ValidationExceptionSource

The request validation failed because one or more input parameters failed validation. This exception occurs when there are syntax errors in the request, field constraints are violated, or required parameters are missing. To help you fix the issue, the exception message provides details about which parameter failed and why.

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

    The input fails to satisfy the constraints specified by the service. Check the error details and modify your request.

    *)
  2. errorCode : ValidationExceptionType.t option;
    (*

    An error occurred validating your request. See the error message for details.

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