mirror of
https://github.com/djohnlewis/stackdump
synced 2025-12-08 00:43:30 +00:00
Initial commit. Still building up the env and some parsing code.
This commit is contained in:
10
python/packages/sqlobject/include/pydispatch/errors.py
Normal file
10
python/packages/sqlobject/include/pydispatch/errors.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""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)"""
|
||||
|
||||
Reference in New Issue
Block a user