Class: Auth0::HTTPError
- Inherits:
-
Exception
- Object
- 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 Method Summary collapse
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 |