Error during frontend parsing or translation.
| 25 | |
| 26 | |
| 27 | class FrontendError(Exception): |
| 28 | """Error during frontend parsing or translation.""" |
| 29 | |
| 30 | def __init__(self, message: str, file: str, line: int, column: int): |
| 31 | super().__init__(f"{file}:{line}:{column}: {message}") |
| 32 | self.message = message |
| 33 | self.file = file |
| 34 | self.line = line |
| 35 | self.column = column |
| 36 | |
| 37 | |
| 38 | class BaseFrontend(ABC): |