Skip to content

exceptions

drunc.exceptions

Classes

DruncBatchShellArgError(msg)

Bases: DruncException

C'tor

Source code in drunc/exceptions.py
def __init__(self, msg) -> None:
    """C'tor"""
    err_msg = f"Batch shell error, unknown command or argument: {msg}"
    super().__init__(err_msg)
Methods:

DruncBatchShellError(msg)

Bases: DruncException

C'tor

Source code in drunc/exceptions.py
def __init__(self, msg) -> None:
    """C'tor"""
    err_msg = f"Batch shell error: {msg}"
    super().__init__(err_msg)
Methods:

DruncBatchShellUnknownCommand(msg)

Bases: DruncException

C'tor

Source code in drunc/exceptions.py
def __init__(self, msg) -> None:
    """C'tor"""
    err_msg = f"Batch shell error, unknown command: {msg}"
    super().__init__(err_msg)
Methods: