diff options
Diffstat (limited to 'lib/sqlalchemy/exc.py')
-rw-r--r-- | lib/sqlalchemy/exc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py index 272984229..f9e9ae53f 100644 --- a/lib/sqlalchemy/exc.py +++ b/lib/sqlalchemy/exc.py @@ -198,7 +198,7 @@ UnmappedColumnError = None class StatementError(SQLAlchemyError): - """An error occurred during execution of a SQL statement. + """An error occurred during execution of an SQL statement. :class:`StatementError` wraps the exception raised during execution, and features :attr:`.statement` @@ -265,7 +265,7 @@ class DBAPIError(StatementError): and :attr:`~.StatementError.params` attributes which supply context regarding the specifics of the statement which had an issue, for the typical case when the error was raised within the context of - emitting a SQL statement. + emitting an SQL statement. The wrapped exception object is available in the :attr:`~.StatementError.orig` attribute. Its type and properties are |