Exception: Auth0::HTTPError
- Defined in:
- lib/auth0/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 Auth0::Exception
Instance Method Details
#headers ⇒ Object
14 15 16 |
# File 'lib/auth0/exception.rb', line 14 def headers error_data[:headers] end |
#http_code ⇒ Object
18 19 20 |
# File 'lib/auth0/exception.rb', line 18 def http_code error_data[:code] end |