Exception: Mfp::ParserError
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(value) ⇒ ParserError
constructor
A new instance of ParserError.
Constructor Details
#initialize(value) ⇒ ParserError
Returns a new instance of ParserError.
15 16 17 18 |
# File 'lib/mfp/error.rb', line 15 def initialize(value) @error_code = value super(value.inspect) end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
13 14 15 |
# File 'lib/mfp/error.rb', line 13 def error_code @error_code end |