6. Exceptions¶
The exception module provides fand-specific exceptions.
All exceptions raised by fand descend from FandError
.
Certain errors have multiple parents.
For instance, ShelfNotFoundError
is a FandError
,
but also a ValueError
.
6.1. Python API¶
6.1.1. Common fand errors¶
-
exception
fand.exceptions.
TerminatingError
[source]¶ Bases:
fand.exceptions.FandError
Daemon is terminating
6.1.4. Server and clients specific errors¶
-
exception
fand.exceptions.
ServerNoConfigError
[source]¶ Bases:
fand.exceptions.FandError
,FileNotFoundError
No configuration file found
-
exception
fand.exceptions.
GpioError
[source]¶ Bases:
fand.exceptions.FandError
Any GPIO related errors
-
exception
fand.exceptions.
FanctlActionBadValue
[source]¶ Bases:
fand.exceptions.FandError
,ValueError
No action found with this name and parameters