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.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py
index c8e71dda5..cc096ad03 100644
--- a/lib/sqlalchemy/exc.py
+++ b/lib/sqlalchemy/exc.py
@@ -587,11 +587,24 @@ class NotSupportedError(DatabaseError):
class SADeprecationWarning(DeprecationWarning):
- """Issued once per usage of a deprecated API."""
+ """Issued for usage of deprecated APIs."""
+
+
+class RemovedIn20Warning(SADeprecationWarning):
+ """Issued for usage of APIs specifically deprecated in SQLAlchemy 2.0.
+
+ .. seealso::
+
+ :ref:`error_b8d9`.
+
+ """
class SAPendingDeprecationWarning(PendingDeprecationWarning):
- """Issued once per usage of a deprecated API."""
+ """A similar warning as :class:`.SADeprecationWarning`, this warning
+ is not used in modern versions of SQLAlchemy.
+
+ """
class SAWarning(RuntimeWarning):