Exceptions
busylight_core.exceptions
¶
Busylight Exceptions
Classes¶
busylight_core.exceptions.LightUnavailableError
¶
Bases: _BaseLightError
Previously accessible light is now not accessible.
Initialize with the light instance that became unavailable.
Source code in src/busylight_core/exceptions.py
busylight_core.exceptions.HardwareUnsupportedError
¶
Bases: _BaseLightError
The hardware supplied is not supported by this class.
Initialize with the unsupported hardware and light class.
Source code in src/busylight_core/exceptions.py
busylight_core.exceptions.NoLightsFoundError
¶
Bases: _BaseLightError
No lights were discovered by this Light subclass.
Source code in src/busylight_core/exceptions.py
busylight_core.exceptions.InvalidHardwareError
¶
Bases: _BaseHardwareError
The device dictionary is missing required key/value pairs.
Initialize with the invalid device description.
Source code in src/busylight_core/exceptions.py
busylight_core.exceptions.HardwareAlreadyOpenError
¶
Bases: _BaseHardwareError
The hardware device is already open and cannot be opened again.
Source code in src/busylight_core/exceptions.py
busylight_core.exceptions.HardwareNotOpenError
¶
Bases: _BaseHardwareError
The hardware device is not open and cannot be used.