Selfie
Loading...
Searching...
No Matches
ParseException.py
Go to the documentation of this file.
1from .LineReader import LineReader
2
3
4class ParseException(Exception):
5 def __init__(self, line_reader: LineReader, message: str) -> None:
6 self.line: int = line_reader.get_line_number()
7 super().__init__(f"Line {self.line}: {message}")
None __init__(self, LineReader line_reader, str message)