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:74
Format the parser failure with an optional source location.
Parameters
- location — Source coordinates associated with the operation.; Type: SourceLocation | None
Returns
Formatted the parser failure with an optional source location.; Type: str