Exception: RFGraph::RFGraphError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RFGraph::RFGraphError
- Defined in:
- lib/rfgraph.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ RFGraphError
constructor
A new instance of RFGraphError.
Constructor Details
#initialize(code, message) ⇒ RFGraphError
Returns a new instance of RFGraphError.
14 15 16 17 |
# File 'lib/rfgraph.rb', line 14 def initialize(code, ) @code = code super() end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
12 13 14 |
# File 'lib/rfgraph.rb', line 12 def code @code end |