Exception: Auth0::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- Auth0::Exception
- Defined in:
- lib/auth0/exception.rb
Overview
Default exception in namespace of Auth0 if you want to catch all exceptions, then you should use this one. Network exceptions are not included
Direct Known Subclasses
HTTPError, InvalidApiNamespace, InvalidCredentials, InvalidIdToken, InvalidParameter, MissingActionId, MissingActionName, MissingClientId, MissingExecutionId, MissingOrganizationId, MissingParameter, MissingTriggerId, MissingUserId, MissingVersionId, RequestTimeout
Instance Attribute Summary collapse
-
#error_data ⇒ Object
readonly
Returns the value of attribute error_data.
Instance Method Summary collapse
-
#initialize(message, error_data = {}) ⇒ Exception
constructor
A new instance of Exception.
Constructor Details
#initialize(message, error_data = {}) ⇒ Exception
Returns a new instance of Exception.
7 8 9 10 |
# File 'lib/auth0/exception.rb', line 7 def initialize(,error_data={}) super() @error_data = error_data end |
Instance Attribute Details
#error_data ⇒ Object (readonly)
Returns the value of attribute error_data.
6 7 8 |
# File 'lib/auth0/exception.rb', line 6 def error_data @error_data end |