_exceptions.py
branchstable
changeset 8602 d066ba3bb07d
parent 8265 9747ab9230ad
child 8609 112a04c0473d
--- a/_exceptions.py	Tue Nov 27 11:38:03 2012 +0100
+++ b/_exceptions.py	Tue Nov 27 12:24:56 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):