summaryrefslogtreecommitdiff
path: root/django/core/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/exceptions.py')
-rw-r--r--django/core/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/django/core/exceptions.py b/django/core/exceptions.py
index 7be4e16bc5..646644f3e0 100644
--- a/django/core/exceptions.py
+++ b/django/core/exceptions.py
@@ -233,6 +233,12 @@ class EmptyResultSet(Exception):
pass
+class FullResultSet(Exception):
+ """A database query predicate is matches everything."""
+
+ pass
+
+
class SynchronousOnlyOperation(Exception):
"""The user tried to call a sync-only function from an async context."""