class DMark::Parser::ParserError

Attributes

col_nr[R]
line_nr[R]

Public Class Methods

new(line_nr, col_nr, msg) click to toggle source
Calls superclass method
# File lib/d-mark/parser.rb, line 7
def initialize(line_nr, col_nr, msg)
  @line_nr = line_nr
  @col_nr = col_nr
  @msg = msg

  super("parse error at line #{@line_nr + 1}, col #{@col_nr + 1}: #{@msg}")
end