Mini Shell

Direktori : /opt/imh-python/lib/python3.9/site-packages/executing/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/executing/_exceptions.py

class KnownIssue(Exception):
    """
    Raised in case of an known problem. Mostly because of cpython bugs.
    Executing.node gets set to None in this case.
    """

    pass


class VerifierFailure(Exception):
    """
    Thrown for an unexpected mapping from instruction to ast node
    Executing.node gets set to None in this case.
    """

    def __init__(self, title, node, instruction):
        # type: (object, object, object) -> None
        self.node = node
        self.instruction = instruction

        super().__init__(title) # type: ignore[call-arg]

Zerion Mini Shell 1.0