From eebac2b463b6e1db1f128d78b8151761c09448a6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 5 Feb 2011 20:07:24 +0100 Subject: beaker + jinja2 lib --- module/lib/beaker/exceptions.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 module/lib/beaker/exceptions.py (limited to 'module/lib/beaker/exceptions.py') 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 -- cgit v1.2.3