Exception: Conexa::ConnectionError

Inherits:
ConexaError show all
Defined in:
lib/conexa/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.message
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



8
9
10
# File 'lib/conexa/errors.rb', line 8

def error
  @error
end