diff options
Diffstat (limited to 'django/core/exceptions.py')
-rw-r--r-- | django/core/exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/django/core/exceptions.py b/django/core/exceptions.py index 2b3e55fe49..5780ffdb4a 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -71,6 +71,11 @@ class RequestAborted(Exception): pass +class BadRequest(Exception): + """The request is malformed and cannot be processed.""" + pass + + class PermissionDenied(Exception): """The user did not have permission to do that""" pass |