14. API - Exceptions¶
The exc module defines the various exception classes specific to picraft.
Note
All items in this module are available from the picraft
namespace
without having to import picraft.exc
directly.
The following items are defined in the module:
14.1. Exceptions¶
-
exception
picraft.exc.
ConnectionError
[source]¶ Base class for PiCraft errors relating to network communications
-
exception
picraft.exc.
NoResponse
[source]¶ Exception raised when a network command expects a response but gets none
-
exception
picraft.exc.
BatchStarted
[source]¶ Exception raised when a batch is started before a prior one is complete