Exception: Sequence::UnauthorizedError
- Defined in:
- lib/sequence/errors.rb
Overview
UnauthorizedError is a special case of APIError, and is raised when the response status code is 401. This is a common error case, so a discrete exception type is provided for convenience.
Instance Attribute Summary
Attributes inherited from APIError
#chain_message, #code, #data, #detail, #request_id, #response, #retriable
Method Summary
Methods inherited from APIError
format_error_message, #initialize, #retriable?
Constructor Details
This class inherits a constructor from Sequence::APIError