Exception: Alumina::ParseError
- Defined in:
- lib/alumina/errors.rb
Overview
Raised when invalid HIN data is encountered.
Instance Attribute Summary collapse
-
#line ⇒ Fixnum
The line in the HIN data at which the error occurred.
Instance Method Summary collapse
-
#initialize(line, reason) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(line, reason) ⇒ ParseError
Returns a new instance of ParseError.
10 11 12 13 |
# File 'lib/alumina/errors.rb', line 10 def initialize(line, reason) @line = line super(reason) end |
Instance Attribute Details
#line ⇒ Fixnum
Returns The line in the HIN data at which the error occurred.
7 8 9 |
# File 'lib/alumina/errors.rb', line 7 def line @line end |