Module Values.ValidationExceptionSource

Error thrown when request validation fails HTTP Status Code: 400 Bad Request Used for request validation errors such as malformed parameters, missing required fields, or invalid parameter values.

Sourcetype nonrec t = {
  1. error : OAuth2ErrorCode.t option;
    (*

    OAuth 2.0 error code indicating validation failure Will be INVALID_REQUEST for validation errors

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

    Detailed message explaining the validation failure Provides specific information about which validation failed

    *)
}
Sourceval make : ?error:??? -> ?message:??? -> 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