]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The mechanics of the :meth:`.ConnectionEvents.dbapi_error` handler
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 Jul 2014 21:30:49 +0000 (17:30 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 Jul 2014 21:31:18 +0000 (17:31 -0400)
commitf0c318b069c180e094a4f3b53586a6aa53ee912e
treeadbaad6307fc4dedc223833928819773914a7fa6
parent4b904621f6eb44976106876898db6bf66f880960
- The mechanics of the :meth:`.ConnectionEvents.dbapi_error` handler
have been enhanced such that the function handler is now capable
of raising or returning a new exception object, which will replace
the exception normally being thrown by SQLAlchemy.
fixes #3076
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/events.py
test/engine/test_execute.py