Exceptions (utils.exceptions)¶
The utils.exceptions module contains a number of bespoke exceptions. These were implemented just to make the reasons for failure more obvious.
Classes¶
IllformedField |
Thrown when a field is not correctly formed |
InvalidFieldDataType |
Thrown when a field name contains an unkown data type |
InvalidPacket |
Thrown when the packet formatter cannot parse the incomming data |
InvalidReadingsRequest |
Thrown when a request for readings has an invalid format |
InvalidUTCTimestamp |
Thrown when the passed UTC string cannot be parsed |
UnknownDevice |
Raised when an unknown device id is used |
UnknownFieldName |
Thrown when a field name is not know to be assosiated with a device |