]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The exception wrapping system for DBAPI errors can now accommodate
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Jul 2014 18:06:43 +0000 (14:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Jul 2014 18:06:43 +0000 (14:06 -0400)
commit83326bf44c590a3b22ddf9bf658f509d1491bc0f
tree2f67a8167450d44753eb9cc2b2b3044decd3354d
parent405c223ae50e78dacac08783c414619db20df0b7
- The exception wrapping system for DBAPI errors can now accommodate
non-standard DBAPI exceptions, such as the psycopg2
TransactionRollbackError.  These exceptions will now be raised
using the closest available subclass in ``sqlalchemy.exc``, in the
case of TransactionRollbackError, ``sqlalchemy.exc.OperationalError``.
fixes #3075
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/exc.py
test/dialect/postgresql/test_dialect.py
test/engine/test_execute.py