aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/exceptions.py')
-rw-r--r--rest_framework/exceptions.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/rest_framework/exceptions.py b/rest_framework/exceptions.py
index e7836ecd..572425b9 100644
--- a/rest_framework/exceptions.py
+++ b/rest_framework/exceptions.py
@@ -77,3 +77,10 @@ class Throttled(APIException):
self.detail = format % (self.wait, self.wait != 1 and 's' or '')
else:
self.detail = detail or self.default_detail
+
+
+class ConfigurationError(Exception):
+ """
+ Indicates an internal server error.
+ """
+ pass