app/django/dispatch/errors.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Thu, 11 Sep 2008 12:06:57 +0000
changeset 128 f6abf00efc62
parent 54 03e267d67478
permissions -rw-r--r--
Updated docs in response_helpers. 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)"""