Added MissingRequestError exception class
authorThierry Florac <tflorac@ulthar.net>
Sat, 14 Mar 2015 13:48:37 +0100
changeset 19 378978d7c534
parent 18 51a503276de9
child 20 4bbf6181e1cf
Added MissingRequestError exception class
src/pyams_utils/interfaces/__init__.py
--- a/src/pyams_utils/interfaces/__init__.py	Wed Mar 11 12:23:34 2015 +0100
+++ b/src/pyams_utils/interfaces/__init__.py	Sat Mar 14 13:48:37 2015 +0100
@@ -28,3 +28,7 @@
 
 # Settings key to define site root factory
 PYAMS_APPLICATION_FACTORY_KEY = 'pyams.application_factory'
+
+
+class MissingRequestError(Exception):
+    """Error raised when no request is available"""