Module Values.TooManyRequestsErrorSource

Error thrown when rate limit is exceeded HTTP Status Code: 429 Too Many Requests Possible OAuth2ErrorCode values: INVALID_REQUEST: Rate limiting, too many requests, abuse prevention Possible causes: Too many token requests from the same client Rate limiting based on client_id or IP address Abuse prevention mechanisms triggered Service protection against excessive token generation

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

    OAuth 2.0 error code indicating the specific type of error Will be INVALID_REQUEST for rate limiting scenarios

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

    Detailed message about the rate limiting May include retry-after information or rate limit details

    *)
}
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