summaryrefslogtreecommitdiffstats
path: root/pyload/lib/beaker/exceptions.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-08 00:29:57 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-14 11:02:23 +0200
commit68d662e689cd42687341c550fb6ebb74e6968d21 (patch)
tree486cef41bd928b8db704894233b2cef94a6e346f /pyload/lib/beaker/exceptions.py
parentsave_join -> safe_join & save_path -> safe_filename (diff)
downloadpyload-68d662e689cd42687341c550fb6ebb74e6968d21.tar.xz
module -> pyload
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