summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/exceptions.py')
-rw-r--r--lib/sqlalchemy/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/exceptions.py b/lib/sqlalchemy/exceptions.py
index c942ab4c2..2713fb754 100644
--- a/lib/sqlalchemy/exceptions.py
+++ b/lib/sqlalchemy/exceptions.py
@@ -34,6 +34,11 @@ class InvalidRequestError(SQLAlchemyError):
This error generally corresponds to runtime state errors."""
pass
+class NoSuchTableError(InvalidRequestError):
+ """sqlalchemy was asked to load a table's definition from the database,
+ but the table doesn't exist."""
+ pass
+
class AssertionError(SQLAlchemyError):
"""corresponds to internal state being detected in an invalid state"""
pass