Exception: SimpleAuthSdk::HTTPError
- Defined in:
- lib/simple_auth_sdk/exception.rb
Overview
Parent for all exceptions that arise out of HTTP error responses.
Direct Known Subclasses
AccessDenied, BadRequest, NotFound, RateLimitEncountered, ServerError, Unauthorized, Unsupported
Instance Attribute Summary
Attributes inherited from Exception
Instance Method Summary collapse
Methods inherited from Exception
Constructor Details
This class inherits a constructor from SimpleAuthSdk::Exception
Instance Method Details
#headers ⇒ Object
18 19 20 |
# File 'lib/simple_auth_sdk/exception.rb', line 18 def headers error_data[:headers] end |
#http_code ⇒ Object
22 23 24 |
# File 'lib/simple_auth_sdk/exception.rb', line 22 def http_code error_data[:code] end |