Exception: Ree::Error
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message, code = nil, type = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, code = nil, type = nil) ⇒ Error
Returns a new instance of Error.
6 7 8 9 10 |
# File 'lib/ree/error.rb', line 6 def initialize(, code = nil, type = nil) super() @type = type @code = code end |