Errors and exceptions
General reference
Current version · 1.4.0
ExoControlError(message, *, kind, command=None, device_code=None, detail=None) inherits QnBotError and exposes properties with the same names.
ExoControlErrorKind members:
| Member | Value |
|---|---|
NOT_CONNECTED | 0 |
INVALID_LIFECYCLE | 1 |
UNSUPPORTED | 2 |
UNAVAILABLE | 3 |
BUSY | 4 |
TIMEOUT | 5 |
PROTOCOL | 6 |
DEVICE_REJECTED | 7 |
TRANSPORT | 8 |
CANCELLED | 9 |
Invalid arguments use InvalidArgumentError; closed objects use ClosedHandleError. Device selection can also report Core AmbiguousSelectionError or NotFoundSelectionError.