Exception: Descope::HTTPError
- Defined in:
- lib/descope/exception.rb
Overview
Parent for all exceptions that arise out of HTTP error responses.
Direct Known Subclasses
AccessDenied, BadRequest, MethodNotAllowed, NotFound, RateLimitException, RequestTimeout, 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 Descope::Exception
Instance Method Details
#headers ⇒ Object
16 17 18 |
# File 'lib/descope/exception.rb', line 16 def headers error_data[:headers] end |
#http_code ⇒ Object
20 21 22 |
# File 'lib/descope/exception.rb', line 20 def http_code error_data[:code] end |