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 the reason it was refused, so sending it again unchanged is refused again. TooManyRequests and RequestTimeout are the exceptions: the same request passes once its rate limit resets, or once the API reads it in time.
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