Exception: Bsm::InvalidInput
- Inherits:
-
StandardError
- Object
- StandardError
- Bsm::InvalidInput
- Defined in:
- lib/bsm.rb,
ext/bsm/internal/bsm.c
Overview
Raised when bsm2 rejects input. Carries the structured error fields (line, column, length, line_text) from the native library so callers can report precise locations.
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#length ⇒ Object
Returns the value of attribute length.
-
#line ⇒ Object
Returns the value of attribute line.
-
#line_text ⇒ Object
Returns the value of attribute line_text.
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
11 12 13 |
# File 'lib/bsm.rb', line 11 def column @column end |
#length ⇒ Object
Returns the value of attribute length.
11 12 13 |
# File 'lib/bsm.rb', line 11 def length @length end |
#line ⇒ Object
Returns the value of attribute line.
11 12 13 |
# File 'lib/bsm.rb', line 11 def line @line end |
#line_text ⇒ Object
Returns the value of attribute line_text.
11 12 13 |
# File 'lib/bsm.rb', line 11 def line_text @line_text end |