Skip to content

exceptions

Class info

Classes

Name Children Inherits
NotInitializedError
exxec.exceptions
Raised when the executor is not initialized.

    🛈 DocStrings

    NotInitializedError

    Bases: RuntimeError

    Raised when the executor is not initialized.

    Source code in src/exxec/exceptions.py
    1
    2
    3
    4
    5
    class NotInitializedError(RuntimeError):
        """Raised when the executor is not initialized."""
    
        def __init__(self, name: str) -> None:
            super().__init__(f"Environmment is not initialized: {name}.")