Exception: Flor::FlorError
- Inherits:
-
StandardError
- Object
- StandardError
- Flor::FlorError
- Defined in:
- lib/flor/errors.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(message, node = nil) ⇒ FlorError
constructor
A new instance of FlorError.
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(, node=nil) super() @node = node end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
5 6 7 |
# File 'lib/flor/errors.rb', line 5 def node @node end |