app/django/dispatch/errors.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sun, 21 Sep 2008 08:56:52 +0000
changeset 182 72f193fb5633
parent 54 03e267d67478
permissions -rw-r--r--
Add rounded corners graphics. Add .notice class and rounded corners classes to soc.css file, those will be used to better visualize submit_message like "Profile saved.".

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