module documentation

Exceptions used with SQLAlchemy.

The base exception class is .SQLAlchemyError. Exceptions which are raised as a result of DBAPI exceptions are all subclasses of .DBAPIError.

Class ​Ambiguous​Foreign​Keys​Error Raised when more than one foreign key matching can be located between two selectables during a join.
Class ​Argument​Error Raised when an invalid or conflicting function argument is supplied.
Class ​Await​Required Error raised by the async greenlet spawn if no async operation was awaited when it required one.
Class ​Base20​Deprecation​Warning Issued for usage of APIs specifically deprecated or legacy in SQLAlchemy 2.0.
Class ​Circular​Dependency​Error Raised by topological sorts when a circular dependency is detected.
Class ​Compile​Error Raised when an error occurs during SQL compilation
Class ​Database​Error Wraps a DB-API DatabaseError.
Class ​Data​Error Wraps a DB-API DataError.
Class ​DBAPIError Raised when the execution of a database operation fails.
Class ​Disconnection​Error A disconnect is detected on a raw DB-API connection.
Class ​Dont​Wrap​Mixin A mixin class which, when applied to a user-defined Exception class, will not be wrapped inside of .StatementError if the error is emitted within the process of executing a statement.
Class ​Has​Description​Code helper which adds 'code' as an attribute and '_code_str' as a method
Class ​Identifier​Error Raised when a schema name is beyond the max character limit
Class ​Integrity​Error Wraps a DB-API IntegrityError.
Class ​Interface​Error Wraps a DB-API InterfaceError.
Class ​Internal​Error Wraps a DB-API InternalError.
Class ​Invalidate​Pool​Error Raised when the connection pool should invalidate all stale connections.
Class ​Invalid​Request​Error SQLAlchemy was asked to do something it can't do.
Class ​Legacy​APIWarning indicates an API that is in 'legacy' status, a long term deprecation.
Class ​Missing​Greenlet Error raised by the async greenlet await_ if called while not inside the greenlet spawn context.
Class ​Moved​In20​Warning Subtype of RemovedIn20Warning to indicate an API that moved only.
Class ​Multiple​Results​Found A single database result was required but more than one were found.
Class ​No​Foreign​Keys​Error Raised when no foreign keys can be located between two selectables during a join.
Class ​No​Inspection​Available A subject passed to sqlalchemy.inspection.inspect produced no context for inspection.
Class ​No​Referenced​Column​Error Raised by ForeignKey when the referred Column cannot be located.
Class ​No​Referenced​Table​Error Raised by ForeignKey when the referred Table cannot be located.
Class ​No​Reference​Error Raised by ForeignKey to indicate a reference cannot be resolved.
Class ​No​Result​Found A database result was required but none was found.
Class ​No​Such​Column​Error A nonexistent column is requested from a Row.
Class ​No​Such​Module​Error Raised when a dynamically-loaded module (usually a database dialect) of a particular name cannot be located.
Class ​No​Such​Table​Error Table does not exist or is not visible to a connection.
Class ​Not​Supported​Error Wraps a DB-API NotSupportedError.
Class ​Object​Not​Executable​Error Raised when an object is passed to .execute() that can't be executed as SQL.
Class ​Operational​Error Wraps a DB-API OperationalError.
Class ​Pending​Rollback​Error A transaction has failed and needs to be rolled back before continuing.
Class ​Programming​Error Wraps a DB-API ProgrammingError.
Class ​Removed​In20​Warning indicates an API that will be fully removed in SQLAlchemy 2.0.
Class ​Resource​Closed​Error An operation was requested from a connection, cursor, or other object that's in a closed state.
Class ​SADeprecation​Warning Issued for usage of deprecated APIs.
Class ​SAPending​Deprecation​Warning A similar warning as _exc.SADeprecationWarning, this warning is not used in modern versions of SQLAlchemy.
Class ​SAWarning Issued at runtime.
Class ​SQLAlchemy​Error Generic error class.
Class ​Statement​Error An error occurred during execution of a SQL statement.
Class ​Timeout​Error Raised when a connection pool times out on getting a connection.
Class ​Unbound​Execution​Error SQL was attempted without a database connection to execute it on.
Class ​Unreflectable​Table​Error Table exists but can't be reflected for some reason.
Class ​Unsupported​Compilation​Error Raised when an operation is not supported by the given compiler.
Variable ​_version​_token Undocumented
_version_token =

Undocumented