Exception: UnimatrixParser::CommandlineError
- Inherits:
-
StandardError
- Object
- StandardError
- UnimatrixParser::CommandlineError
- Defined in:
- lib/unimatrix_parser.rb
Overview
Error Classes
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(message, error_code = nil) ⇒ CommandlineError
constructor
A new instance of CommandlineError.
Constructor Details
#initialize(message, error_code = nil) ⇒ CommandlineError
Returns a new instance of CommandlineError.
70 71 72 73 |
# File 'lib/unimatrix_parser.rb', line 70 def initialize( , error_code = nil ) super( ) @error_code = error_code end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
68 69 70 |
# File 'lib/unimatrix_parser.rb', line 68 def error_code @error_code end |