exception.py 398 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
"""Exception types that may be thrown by this library."""

class DeserializationException(Exception):
    """Encountered an unexpected byte sequence or missing element type."""

class SessionException(Exception):
    """Session request exception."""

class CommandException(Exception):
    """Command result exception."""

class EventUnknownException(Exception):
    """Event unknown exception."""