Exception: ApipieBindings::AuthenticatorError
- Inherits:
-
StandardError
- Object
- StandardError
- ApipieBindings::AuthenticatorError
- Defined in:
- lib/apipie_bindings/exceptions.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, cause, original_error) ⇒ AuthenticatorError
constructor
A new instance of AuthenticatorError.
Constructor Details
#initialize(type, cause, original_error) ⇒ AuthenticatorError
Returns a new instance of AuthenticatorError.
39 40 41 42 43 |
# File 'lib/apipie_bindings/exceptions.rb', line 39 def initialize(type, cause, original_error) @type = type @cause = cause @original_error = original_error end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
37 38 39 |
# File 'lib/apipie_bindings/exceptions.rb', line 37 def cause @cause end |
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
37 38 39 |
# File 'lib/apipie_bindings/exceptions.rb', line 37 def original_error @original_error end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
37 38 39 |
# File 'lib/apipie_bindings/exceptions.rb', line 37 def type @type end |