Selfie
Loading...
Searching...
No Matches
ParseException.py
Go to the documentation of this file.
1
from
.LineReader
import
LineReader
2
3
4
class
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}"
)
selfie_lib.ParseException.ParseException
Definition
ParseException.py:4
selfie_lib.ParseException.ParseException.__init__
None __init__(self, LineReader line_reader, str message)
Definition
ParseException.py:5
selfie-lib
selfie_lib
ParseException.py
Generated by
1.9.8