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.FandErrorDaemon is terminating
6.1.4. Server and clients specific errors¶
-
exception
fand.exceptions.ServerNoConfigError[source]¶ Bases:
fand.exceptions.FandError,FileNotFoundErrorNo configuration file found
-
exception
fand.exceptions.GpioError[source]¶ Bases:
fand.exceptions.FandErrorAny GPIO related errors
-
exception
fand.exceptions.FanctlActionBadValue[source]¶ Bases:
fand.exceptions.FandError,ValueErrorNo action found with this name and parameters