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.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py
index a82bae33f..2c61def13 100644
--- a/lib/sqlalchemy/exc.py
+++ b/lib/sqlalchemy/exc.py
@@ -368,3 +368,35 @@ class SAPendingDeprecationWarning(PendingDeprecationWarning):
class SAWarning(RuntimeWarning):
"""Issued at runtime."""
+
+
+class SAIndexReflectionWarning(SAWarning):
+ """ Issued if an index cannot be reflected """
+
+
+class SAOmittedIndexReflectionWarning(SAIndexReflectionWarning):
+ """ Issued if an index is ignored, because of omitted columns """
+
+
+class SAIncompleteIndexReflectionWarning(SAIndexReflectionWarning):
+ """ Issued if an index is missing columns or predicates """
+
+
+class SAUnsupportedIndexReflectionWarning(SAIndexReflectionWarning):
+ """ Issued if an index type is not supported and hence not reflected """
+
+
+class SATypeReflectionWarning(SAWarning):
+ """ Issued if a type cannot be reflected """
+
+
+class SAUnknownTypeReflectionWarning(SATypeReflectionWarning):
+ """ Issued if the reflected type is not known to SQLAlchemy """
+
+
+class SAUnparsableTypeReflectionWarning(SATypeReflectionWarning):
+ """ Issued if the type info from the DB could not be parsed """
+
+
+class SAIncompleteTypeReflectionWarning(SATypeReflectionWarning):
+ """ Issued if the type reflection is incomplete """