summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/exc.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/exc.py')
-rw-r--r--lib/sqlalchemy/exc.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py
index eb633ec8c..82d9d31ce 100644
--- a/lib/sqlalchemy/exc.py
+++ b/lib/sqlalchemy/exc.py
@@ -165,6 +165,15 @@ class AmbiguousForeignKeysError(ArgumentError):
between two selectables during a join."""
+class ConstraintColumnNotFoundError(ArgumentError):
+ """raised when a constraint refers to a string column name that
+ is not present in the table being constrained.
+
+ .. versionadded:: 2.0
+
+ """
+
+
class CircularDependencyError(SQLAlchemyError):
"""Raised by topological sorts when a circular dependency is detected.