API reference
python:arx:arx.exceptions.ParserException.format_message
method format_message
format_message(location: SourceLocation | None) -> str
Source: packages/arx/src/arx/exceptions.py:85
Format the parser failure with an optional source location.
Parameters
- location — Type: SourceLocation | None
Returns
Type: str