Exception: Flor::FlorError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/flor/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, node = nil) ⇒ FlorError

Returns a new instance of FlorError.



7
8
9
10
11
# File 'lib/flor/errors.rb', line 7

def initialize(message, node=nil)

  super(message)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



5
6
7
# File 'lib/flor/errors.rb', line 5

def node
  @node
end