API reference
python:arx:arx.lexer.core.LexerError
class LexerError
LexerError(message: str, location: SourceLocation, code: str = 'ARX-LEX-001')
Source: packages/arx/src/arx/lexer/core.py:321
Custom exception for lexer errors.
Attributes
- location — The source location where the error occurred.
Methods
- __init__ — Initialize LexerError.