Exception: UnimatrixParser::CommandlineError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/unimatrix_parser.rb

Overview


Error Classes

Instance Attribute Summary collapse

Instance Method Summary collapse

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( message, error_code = nil )
  super( message )
  @error_code = error_code
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



68
69
70
# File 'lib/unimatrix_parser.rb', line 68

def error_code
  @error_code
end