Exception: MARC::AlephSequential::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MARC::AlephSequential::Error
- Defined in:
- lib/marc_alephsequential/error.rb
Instance Attribute Summary collapse
-
#line_number ⇒ Object
Returns the value of attribute line_number.
-
#record_id ⇒ Object
Returns the value of attribute record_id.
Instance Method Summary collapse
-
#initialize(record_id, line_number) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(record_id, line_number) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/marc_alephsequential/error.rb', line 7 def initialize(record_id, line_number) @record_id = record_id @line_number = line_number end |
Instance Attribute Details
#line_number ⇒ Object
Returns the value of attribute line_number.
5 6 7 |
# File 'lib/marc_alephsequential/error.rb', line 5 def line_number @line_number end |
#record_id ⇒ Object
Returns the value of attribute record_id.
5 6 7 |
# File 'lib/marc_alephsequential/error.rb', line 5 def record_id @record_id end |