18 lines
545 B
Python
18 lines
545 B
Python
|
|
__all__ = ["CantHandleException", "UndeliverableException", "MessageDroppedException", "NotAccessibleError"]
|
||
|
|
|
||
|
|
|
||
|
|
class CantHandleException(Exception):
|
||
|
|
"""Raised when a handler can't handle the exception."""
|
||
|
|
|
||
|
|
|
||
|
|
class UndeliverableException(Exception):
|
||
|
|
"""Raised when a message can't be delivered."""
|
||
|
|
|
||
|
|
|
||
|
|
class MessageDroppedException(Exception):
|
||
|
|
"""Raised when a message is dropped."""
|
||
|
|
|
||
|
|
|
||
|
|
class NotAccessibleError(Exception):
|
||
|
|
"""Tried to access a value that is not accessible. For example if it is remote cannot be accessed locally."""
|