Skip to content

exception

zeus.device.exception

Base device exception classes.

ZeusBaseGPUError

Bases: ZeusBaseError

Zeus base GPU exception class.

Source code in zeus/device/exception.py
 6
 7
 8
 9
10
11
class ZeusBaseGPUError(ZeusBaseError):
    """Zeus base GPU exception class."""

    def __init__(self, message: str) -> None:
        """Initialize Base Zeus Exception."""
        super().__init__(message)

__init__

__init__(message)
Source code in zeus/device/exception.py
 9
10
11
def __init__(self, message: str) -> None:
    """Initialize Base Zeus Exception."""
    super().__init__(message)

ZeusBaseCPUError

Bases: ZeusBaseError

Zeus base CPU exception class.

Source code in zeus/device/exception.py
14
15
16
17
18
19
class ZeusBaseCPUError(ZeusBaseError):
    """Zeus base CPU exception class."""

    def __init__(self, message: str) -> None:
        """Initialize Base Zeus Exception."""
        super().__init__(message)

__init__

__init__(message)
Source code in zeus/device/exception.py
17
18
19
def __init__(self, message: str) -> None:
    """Initialize Base Zeus Exception."""
    super().__init__(message)

ZeusdError

Bases: ZeusBaseGPUError

Exception class for Zeus daemon-related errors.

Source code in zeus/device/exception.py
22
23
24
25
26
27
class ZeusdError(ZeusBaseGPUError):
    """Exception class for Zeus daemon-related errors."""

    def __init__(self, message: str) -> None:
        """Initialize Zeusd error."""
        super().__init__(message)

__init__

__init__(message)
Source code in zeus/device/exception.py
25
26
27
def __init__(self, message: str) -> None:
    """Initialize Zeusd error."""
    super().__init__(message)