An Unexpected Character Error occurs when the lexer is unable to match a range of one or more characters in the input text against any of the Token Types in it's Lexer definition
Full original input text.
Offset in input text where error starts.
Error length.
Optional
line: numberLine number where the error occurred. (optional) Will not be provided when lexer is not defined to track lines/columns
Optional
column: numberColumn number where the error occurred. (optional) Will not be provided when lexer is not defined to track lines/columns
Unable To Pop Lexer Mode Error happens when lexer tries to pop the last remaining mode from the mode stack so that there is no longer any active lexer mode This error only relevant for multi-mode lexers