Exception: X::ClientError
- Defined in:
- x-core/lib/x/core/errors/client_error.rb
Overview
The base class of the errors of a 4xx response, which the API refused
The request is most often the reason it was refused, so sending it again unchanged is refused again. Some are refused for a state that can change: TooManyRequests and RequestTimeout pass once the rate limit resets or the API reads the request in time, PaymentRequired once credit is added, and Conflict once a filtered stream has rules.
Direct Known Subclasses
AuthorizationError, BadRequest, Conflict, Forbidden, Gone, MethodNotAllowed, NotAcceptable, NotFound, PayloadTooLarge, PaymentRequired, RequestTimeout, TooManyRequests, Unauthorized, UnavailableForLegalReasons, UnprocessableEntity, UnsupportedMediaType
Constructor Details
This class inherits a constructor from X::HTTPError