summaryrefslogtreecommitdiffstats
path: root/module/lib/beaker/exceptions.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-05 20:07:24 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-05 20:07:24 +0100
commiteebac2b463b6e1db1f128d78b8151761c09448a6 (patch)
tree15f01d8496960b7d6a11c1948bd6fbdfc139e5b2 /module/lib/beaker/exceptions.py
parentupdate notice (diff)
downloadpyload-eebac2b463b6e1db1f128d78b8151761c09448a6.tar.xz
beaker + jinja2 lib
Diffstat (limited to 'module/lib/beaker/exceptions.py')
-rw-r--r--module/lib/beaker/exceptions.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/module/lib/beaker/exceptions.py b/module/lib/beaker/exceptions.py
new file mode 100644
index 000000000..cc0eed286
--- /dev/null
+++ b/module/lib/beaker/exceptions.py
@@ -0,0 +1,24 @@
+"""Beaker exception classes"""
+
+class BeakerException(Exception):
+ pass
+
+
+class CreationAbortedError(Exception):
+ """Deprecated."""
+
+
+class InvalidCacheBackendError(BeakerException, ImportError):
+ pass
+
+
+class MissingCacheParameter(BeakerException):
+ pass
+
+
+class LockError(BeakerException):
+ pass
+
+
+class InvalidCryptoBackendError(BeakerException):
+ pass