]>
Commit | Line | Data |
---|---|---|
b26e1428 BS |
1 | """Exception types that may be thrown by this library.""" |
2 | ||
e0f7da86 | 3 | |
b26e1428 | 4 | class DeserializationException(Exception): |
8c089cdd BS |
5 | """Encountered an unexpected byte sequence or missing element type.""" |
6 | ||
e0f7da86 | 7 | |
8c089cdd | 8 | class SessionException(Exception): |
90e16837 MW |
9 | """Session request exception.""" |
10 | ||
e0f7da86 | 11 | |
90e16837 MW |
12 | class CommandException(Exception): |
13 | """Command result exception.""" | |
cf4cefee | 14 | |
e0f7da86 | 15 | |
cf4cefee TB |
16 | class EventUnknownException(Exception): |
17 | """Event unknown exception.""" |