Exceptions#

exception InternalStreamError#

Stands for an unexpected error in a channel stream, without its details, that could expose internals to clients. See adapt_error().

__init__()#
exception InvalidChannelException#
exception InvalidConnectionException#
exception InvalidMessageFormat#
exception ItemNotFound#

Raised to inform that a key was not found in a repository

__init__(key)#
Parameters:

key (str)

exception NoMessagesException#

Raised when trying to fetch from an empty queue

exception RepositoryError#

Raised when an unexpected error occurs while trying to fetch messages from a queue.

Concrete implementations of ObjectRepositoryInterface should wrap here the unexpected exceptions they catch before raising.

exception StoppedListenerException#

Raised when waiting for messages of a listener that is not running, see deliver_next() and wait_next().

__init__(connection_id)#
Parameters:

connection_id (str)