app/django/dispatch/errors.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Thu, 09 Oct 2008 13:49:41 +0000
changeset 287 847ea0747e4f
parent 54 03e267d67478
permissions -rw-r--r--
Update indexes in index.yaml file. Patch by: Pawel Solyga Review by: to-be-reviewed

"""Error types for dispatcher mechanism
"""

class DispatcherError(Exception):
    """Base class for all Dispatcher errors"""
class DispatcherKeyError(KeyError, DispatcherError):
    """Error raised when unknown (sender,signal) set specified"""
class DispatcherTypeError(TypeError, DispatcherError):
    """Error raised when inappropriate signal-type specified (None)"""