Código fonte para asyncworker.easyqueue.exceptions

[documentos]class EmptyQueueException(Exception): """No message to get"""
[documentos]class MessageError(ValueError): """Base for all message exceptions"""
[documentos]class UndecodableMessageException(MessageError): """Can't decode as JSON"""
[documentos]class InvalidMessageSizeException(MessageError): def __init__(self, message=None): """Message size if bigger than it should be""" self.message = message