Exception: WackyGraph::GraphError
- Inherits:
-
StandardError
- Object
- StandardError
- WackyGraph::GraphError
- Defined in:
- lib/wacky_graph/error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#error_subcode ⇒ Object
Returns the value of attribute error_subcode.
-
#message ⇒ Object
Returns the value of attribute message.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message, type, code, error_subcode) ⇒ GraphError
constructor
attr_accessor :error_subcode.
Constructor Details
#initialize(message, type, code, error_subcode) ⇒ GraphError
attr_accessor :error_subcode
8 9 10 11 12 13 |
# File 'lib/wacky_graph/error.rb', line 8 def initialize(, type, code, error_subcode) @message = @type = type @code = code @error_subcode = error_subcode end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/wacky_graph/error.rb', line 3 def code @code end |
#error_subcode ⇒ Object
Returns the value of attribute error_subcode.
3 4 5 |
# File 'lib/wacky_graph/error.rb', line 3 def error_subcode @error_subcode end |
#message ⇒ Object
Returns the value of attribute message.
3 4 5 |
# File 'lib/wacky_graph/error.rb', line 3 def @message end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/wacky_graph/error.rb', line 3 def type @type end |