_exceptions.py
changeset 8609 112a04c0473d
parent 8556 bbe0d6985e59
parent 8602 d066ba3bb07d
child 8695 358d8bed9626
--- a/_exceptions.py	Fri Nov 16 11:53:17 2012 +0100
+++ b/_exceptions.py	Mon Dec 03 00:03:03 2012 +0100
@@ -103,6 +103,10 @@
         except Exception, ex:
             return str(ex)
 
+class Forbidden(SecurityError):
+    """raised when a user tries to perform a forbidden action
+    """
+
 # source exceptions ###########################################################
 
 class EidNotInSource(SourceException):