summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-12-11 14:30:18 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-12-11 14:30:18 -0500
commit9087157749a0527d6af37e58166793fc7e2f0bf7 (patch)
tree9e8c201bb5c01c84d14dd6ce2038955cd8d548d6 /lib/sqlalchemy/sql/compiler.py
parent164bff07496c345c3c57a8b26439aa6a0fbce3b8 (diff)
downloadsqlalchemy-9087157749a0527d6af37e58166793fc7e2f0bf7.tar.gz
- The :class:`.exc.StatementError` or DBAPI-related subclass
now can accomodate additional information about the "reason" for the exception; the :class:`.Session` now adds some detail to it when the exception occurs within an autoflush. This approach is taken as opposed to combining :class:`.FlushError` with a Python 3 style "chained exception" approach so as to maintain compatibility both with Py2K code as well as code that already catches ``IntegrityError`` or similar.
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions