(self, path: "StrPath", message: str)
| 41 | """Errors while parsing files""" |
| 42 | |
| 43 | def __init__(self, path: "StrPath", message: str): |
| 44 | from dvc.utils import relpath |
| 45 | |
| 46 | path = relpath(path) |
| 47 | self.path = path |
| 48 | super().__init__(f"unable to read: '{path}', {message}") |
| 49 | |
| 50 | |
| 51 | class EncodingError(ParseError): |