Skip to content

Exceptions

busylight_core.exceptions

raised by busylight_core.light.Light and subclasses

Classes

busylight_core.exceptions.LightUnavailableError

Bases: _BaseLightError

Previously accessible light is now not accessible.

busylight_core.exceptions.HardwareUnsupportedError

Bases: _BaseLightError

The hardware supplied is not supported by this class.

busylight_core.exceptions.NoLightsFoundError

Bases: _BaseLightError

No lights were discovered by Light or a subclass of Light.

busylight_core.exceptions.InvalidHardwareError

Bases: _BaseHardwareError

The device dictionary is missing required key/value pairs.

busylight_core.exceptions.HardwareAlreadyOpenError

Bases: _BaseHardwareError

The hardware device is already open and cannot be opened again.

busylight_core.exceptions.HardwareNotOpenError

Bases: _BaseHardwareError

The hardware device is not open and cannot be used.