module documentation
Exceptions used with SQLAlchemy. The base exception class is :exc:`.SQLAlchemyError`. Exceptions which are raised as a result of DBAPI exceptions are all subclasses of :exc:`.DBAPIError`.
Class |
|
A mixin class which, when applied to a user-defined Exception class, will not be wrapped inside of :exc:`.StatementError` if the error is emitted within the process of executing a statement. |
Class |
|
helper which adds 'code' as an attribute and '_code_str' as a method |
Exception |
|
Raised when more than one foreign key matching can be located between two selectables during a join. |
Exception |
|
Raised when an invalid or conflicting function argument is supplied. |
Exception |
|
Error raised by the async greenlet spawn if no async operation was awaited when it required one. |
Exception |
|
Issued for usage of APIs specifically deprecated or legacy in SQLAlchemy 2.0. |
Exception |
|
Raised by topological sorts when a circular dependency is detected. |
Exception |
|
Raised when an error occurs during SQL compilation |
Exception |
|
raised when a constraint refers to a string column name that is not present in the table being constrained. |
Exception |
|
Wraps a DB-API DatabaseError. |
Exception |
|
Wraps a DB-API DataError. |
Exception |
|
Raised when the execution of a database operation fails. |
Exception |
|
A disconnect is detected on a raw DB-API connection. |
Exception |
|
a Column is being added to a Table that would replace another Column, without appropriate parameters to allow this in place. |
Exception |
|
Raised when a schema name is beyond the max character limit |
Exception |
|
An object that tracks state encountered an illegal state change of some kind. |
Exception |
|
Wraps a DB-API IntegrityError. |
Exception |
|
Wraps a DB-API InterfaceError. |
Exception |
|
Wraps a DB-API InternalError. |
Exception |
|
Raised when the connection pool should invalidate all stale connections. |
Exception |
|
SQLAlchemy was asked to do something it can't do. |
Exception |
|
indicates an API that is in 'legacy' status, a long term deprecation. |
Exception |
|
Error raised by the async greenlet await\_ if called while not inside the greenlet spawn context. |
Exception |
|
Subtype of RemovedIn20Warning to indicate an API that moved only. |
Exception |
|
A single database result was required but more than one were found. |
Exception |
|
Raised when no foreign keys can be located between two selectables during a join. |
Exception |
|
A subject passed to :func:`sqlalchemy.inspection.inspect` produced no context for inspection. |
Exception |
|
Raised by ``ForeignKey`` when the referred ``Column`` cannot be located. |
Exception |
|
Raised by ``ForeignKey`` when the referred ``Table`` cannot be located. |
Exception |
|
Raised by ``ForeignKey`` to indicate a reference cannot be resolved. |
Exception |
|
A database result was required but none was found. |
Exception |
|
A nonexistent column is requested from a ``Row``. |
Exception |
|
Raised when a dynamically-loaded module (usually a database dialect) of a particular name cannot be located. |
Exception |
|
Table does not exist or is not visible to a connection. |
Exception |
|
Wraps a DB-API NotSupportedError. |
Exception |
|
Raised when an object is passed to .execute() that can't be executed as SQL. |
Exception |
|
Wraps a DB-API OperationalError. |
Exception |
|
A transaction has failed and needs to be rolled back before continuing. |
Exception |
|
Wraps a DB-API ProgrammingError. |
Exception |
|
An operation was requested from a connection, cursor, or other object that's in a closed state. |
Exception |
|
Issued for usage of deprecated APIs. |
Exception |
|
A similar warning as :class:`_exc.SADeprecationWarning`, this warning is not used in modern versions of SQLAlchemy. |
Exception |
|
warning for a condition detected during tests that is non-fatal |
Exception |
|
Issued at runtime. |
Exception |
|
Generic error class. |
Exception |
|
An error occurred during execution of a SQL statement. |
Exception |
|
Raised when a connection pool times out on getting a connection. |
Exception |
|
SQL was attempted without a database connection to execute it on. |
Exception |
|
Table exists but can't be reflected for some reason. |
Exception |
|
Raised when an operation is not supported by the given compiler. |
Variable | _version |
Undocumented |