app/django/dispatch/errors.py
author Todd Larsen <tlarsen@google.com>
Fri, 18 Jul 2008 18:22:23 +0000
changeset 54 03e267d67478
permissions -rw-r--r--
Major reorganization of the soc svn repo, to merge into a single App Engine image (to make development easier, now that only a single app will run all Google Open Source programs).

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