exceptions¶
Exceptions raised by the tl_elliptec library.
- exception tl_elliptec.exceptions.ElliptecError[source]¶
Bases:
ExceptionBase class for all errors raised by this library.
- exception tl_elliptec.exceptions.ElliptecTimeoutError[source]¶
Bases:
ElliptecErrorNo reply (or an incomplete reply) was received within the allotted time.
- exception tl_elliptec.exceptions.ElliptecProtocolError[source]¶
Bases:
ElliptecErrorA reply frame could not be parsed, or did not match what was expected.
- exception tl_elliptec.exceptions.ElliptecStatusError(address, code)[source]¶
Bases:
ElliptecErrorThe device replied with a GS/BS status frame indicating an error.
- address¶
The address of the device that reported the error.
- code¶
The raw numeric status code (see
StatusCode).
- status¶
codeas aStatusCode, orNoneif it’s outside the known/reserved range.
- exception tl_elliptec.exceptions.ElliptecUnsupportedError[source]¶
Bases:
ElliptecErrorThe requested command is not supported by this device model.