exceptions – Exceptions

These are the exceptions that are raised by EventMQ. All exceptions should be subclasses of EventMQError

exception eventmq.exceptions.EventMQError

All exceptions raised by EventMQ inherit from this base exception

exception eventmq.exceptions.InvalidMessageError

Raise when EventMQ encounters a malformed message is encountered.

exception eventmq.exceptions.MessageError

Raised when there is a problem with the structure of the message

exception eventmq.exceptions.PeerGoneAwayError

Raised when attempting to contact a peer that no longer exists (i.e. when sending a message to it)