app/django/dispatch/errors.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Fri, 10 Oct 2008 06:56:56 +0000
changeset 296 b02dd2a5f329
parent 54 03e267d67478
permissions -rw-r--r--
Add missing __init__.py to soc/logic/helper folder (Caused home page not to work).

"""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)"""