luma.core.error

Exceptions for this library.

exception luma.core.error.DeviceAddressError[source]

Bases: luma.core.error.Error

Exception raised when an invalid device address is detected.

exception luma.core.error.DeviceDisplayModeError[source]

Bases: luma.core.error.Error

Exception raised when an invalid device display mode is detected.

exception luma.core.error.DeviceNotFoundError[source]

Bases: luma.core.error.Error

Exception raised when a device cannot be found.

exception luma.core.error.DevicePermissionError[source]

Bases: luma.core.error.Error

Exception raised when permission to access the device is denied.

exception luma.core.error.Error[source]

Bases: exceptions.Exception

Base class for exceptions in this library.

exception luma.core.error.UnsupportedPlatform[source]

Bases: luma.core.error.Error

Exception raised when trying to use the library on an incompatible system.

New in version 0.5.2.