Issues

Issue #3076 resolved

support reraise of custom exceptions within core exception handling

Mike Bayer
repo owner created an issue

patch attached.

Comments (8)

  1. Mike Bayer reporter
    • 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

    → <<cset e0a9b94abb92>>

  2. Mike Bayer reporter
    • 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

    → <<cset f0c318b069c1>>

  3. Log in to comment