Exception: Bsm::InvalidInput

Inherits:
StandardError
  • Object
show all
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

Instance Attribute Details

#columnObject

Returns the value of attribute column.



11
12
13
# File 'lib/bsm.rb', line 11

def column
  @column
end

#lengthObject

Returns the value of attribute length.



11
12
13
# File 'lib/bsm.rb', line 11

def length
  @length
end

#lineObject

Returns the value of attribute line.



11
12
13
# File 'lib/bsm.rb', line 11

def line
  @line
end

#line_textObject

Returns the value of attribute line_text.



11
12
13
# File 'lib/bsm.rb', line 11

def line_text
  @line_text
end