Exception: SimpleAuthSdk::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleAuthSdk::Exception
- Defined in:
- lib/simple_auth_sdk/exception.rb
Overview
Default exception in namespace of SimpleAuthSdk 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.
10 11 12 13 |
# File 'lib/simple_auth_sdk/exception.rb', line 10 def initialize(, error_data = {}) super() @error_data = error_data end |
Instance Attribute Details
#error_data ⇒ Object (readonly)
Returns the value of attribute error_data.
8 9 10 |
# File 'lib/simple_auth_sdk/exception.rb', line 8 def error_data @error_data end |