summaryrefslogtreecommitdiffstats
path: root/aurweb/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'aurweb/exceptions.py')
-rw-r--r--aurweb/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/aurweb/exceptions.py b/aurweb/exceptions.py
index 639f9e09..664db68c 100644
--- a/aurweb/exceptions.py
+++ b/aurweb/exceptions.py
@@ -6,6 +6,10 @@ class MaintenanceException(AurwebException):
pass
+class BannedException(AurwebException):
+ pass
+
+
class PermissionDeniedException(AurwebException):
def __init__(self, user):
msg = 'permission denied: {:s}'.format(user)