summaryrefslogtreecommitdiffstats
path: root/pyload/lib/beaker/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/lib/beaker/exceptions.py')
-rw-r--r--pyload/lib/beaker/exceptions.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/pyload/lib/beaker/exceptions.py b/pyload/lib/beaker/exceptions.py
new file mode 100644
index 000000000..4f81e456d
--- /dev/null
+++ b/pyload/lib/beaker/exceptions.py
@@ -0,0 +1,29 @@
+"""Beaker exception classes"""
+
+
+class BeakerException(Exception):
+ pass
+
+
+class BeakerWarning(RuntimeWarning):
+ """Issued at runtime."""
+
+
+class CreationAbortedError(Exception):
+ """Deprecated."""
+
+
+class InvalidCacheBackendError(BeakerException, ImportError):
+ pass
+
+
+class MissingCacheParameter(BeakerException):
+ pass
+
+
+class LockError(BeakerException):
+ pass
+
+
+class InvalidCryptoBackendError(BeakerException):
+ pass