Module Values.TooManyRequestsExceptionSource

An error that is returned when a limit of a specific type has been exceeded.

Sourcetype nonrec t = {
  1. limitType : string option;
    (*

    The type of limit that was exceeded.

    *)
  2. message : string option;
    (*

    An error message to inform that the request has failed.

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