Exception: Conexa::ConnectionError
- Inherits:
-
ConexaError
- Object
- StandardError
- ConexaError
- Conexa::ConnectionError
- Defined in:
- lib/conexa/errors.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(error) ⇒ ConnectionError
Returns a new instance of ConnectionError.
10 11 12 13 |
# File 'lib/conexa/errors.rb', line 10 def initialize(error) @error = error super error. end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
8 9 10 |
# File 'lib/conexa/errors.rb', line 8 def error @error end |