Exception: Opium::Model::Connectable::ParseError
- Defined in:
- lib/opium/model/connectable.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, error) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(code, error) ⇒ ParseError
Returns a new instance of ParseError.
13 14 15 16 |
# File 'lib/opium/model/connectable.rb', line 13 def initialize( code, error ) super( error ) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
18 19 20 |
# File 'lib/opium/model/connectable.rb', line 18 def code @code end |