Exception: RFGraph::RFGraphError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rfgraph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message)
  @code = code
  super(message)
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



12
13
14
# File 'lib/rfgraph.rb', line 12

def code
  @code
end