Exception: Ferrum::NodeError

Inherits:
ClientError show all
Defined in:
lib/ferrum/errors.rb

Direct Known Subclasses

ObsoleteNode

Instance Attribute Summary collapse

Attributes inherited from ClientError

#response

Instance Method Summary collapse

Constructor Details

#initialize(node, response) ⇒ NodeError

Returns a new instance of NodeError.



58
59
60
61
# File 'lib/ferrum/errors.rb', line 58

def initialize(node, response)
  @node = node
  super(response)
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



56
57
58
# File 'lib/ferrum/errors.rb', line 56

def node
  @node
end