]> 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:30:49 +0000 (17:30 -0400)
commite0a9b94abb92c6b62d6a6f70dec680d7ca35eed6
tree266b183872d635d9adb6a5b3281666941b9c3978
parent3e4286079c760e9f8e3e76278b2a0c4d406a230d
- 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
doc/build/changelog/migration_10.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/events.py
test/engine/test_execute.py