kilter.protocol.exceptions module
Exceptions raised by the package
- exception InsufficientSpace[source]
Bases:
ExceptionRaised to indicate that a complete message could not be written to a buffer
- exception NeedsMore[source]
Bases:
ExceptionRaised to indicate that a complete message could not be extracted from a buffer
- exception UnexpectedMessage[source]
Bases:
TypeErrorRaised by a protocol to indicate a message that is not expected in the current state
- exception InvalidMessage[source]
Bases:
kilter.protocol.exceptions.UnexpectedMessageRaised by a protocol to indicate a message that is unknown to the state machine
- exception UnknownMessage[source]
Bases:
ValueErrorRaised by the message unpacker to indicate that it lacks a class for the message
The first (and only) argument to the exception is the message that could not be unpacked.