← Files AgentBrokoARCHIVED FILE

.venv/Lib/site-packages/iniconfig/exceptions.py

399 Bytes · Oct 5, 2026 · 18:33 UTC

↓ Download file

from typing import Final


class ParseError(Exception):
    path: Final[str]
    lineno: Final[int]
    msg: Final[str]

    def __init__(self, path: str, lineno: int, msg: str) -> None:
        super().__init__(path, lineno, msg)
        self.path = path
        self.lineno = lineno
        self.msg = msg

    def __str__(self) -> str:
        return f"{self.path}:{self.lineno + 1}: {self.msg}"

SHA-256: 9a2a50fda3310fd0af4af156375a135d8e10b919ca00c6757f7b027668c34d4d