Exception: OmniAuth::Strategies::Ign::CallbackError
- Inherits:
-
StandardError
- Object
- StandardError
- OmniAuth::Strategies::Ign::CallbackError
- Defined in:
- lib/omniauth/strategies/ign.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_reason ⇒ Object
Returns the value of attribute error_reason.
Instance Method Summary collapse
-
#initialize(error, error_reason) ⇒ CallbackError
constructor
A new instance of CallbackError.
Constructor Details
#initialize(error, error_reason) ⇒ CallbackError
Returns a new instance of CallbackError.
12 13 14 15 |
# File 'lib/omniauth/strategies/ign.rb', line 12 def initialize(error, error_reason) self.error = error self.error_reason = error_reason end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
11 12 13 |
# File 'lib/omniauth/strategies/ign.rb', line 11 def error @error end |
#error_reason ⇒ Object
Returns the value of attribute error_reason.
11 12 13 |
# File 'lib/omniauth/strategies/ign.rb', line 11 def error_reason @error_reason end |