class IllegalCharError

Error class for throwing IllegalCharError

Public Class Methods

new(pos_start, pos_end, details) click to toggle source
Calls superclass method Error::new
# File lib/simpler_lexer/errors/illegal_char_error.rb, line 5
def initialize(pos_start, pos_end, details)
  super(pos_start, pos_end, "Illegal Character", details)
end