API reference
python:arx:arx.lexer.LexerError.__init__
method __init__
__init__(message: str, location: SourceLocation, code: str = 'ARX-LEX-001') -> None
Source: packages/arx/src/arx/lexer/core.py:325
Declared as: python:arx:arx.lexer.core.LexerError.__init__
Initialize LexerError.
Parameters
-
message โ Diagnostic or output message.; Type: str
-
location โ Source coordinates associated with the operation.; Type: SourceLocation
-
code โ Source code or diagnostic identifier.; Type: str
Returns
Type: None