An error occurred during execution of a SQL statement.
StatementError
wraps the exception raised
during execution, and features .statement
and .params
attributes which supply context regarding
the specifics of the statement which had an issue.
The wrapped exception object is available in
the .orig
attribute.
Instance Variable | orig |
The DBAPI exception object. |
Instance Variable | params |
The parameter list being used when this exception occurred. |
Instance Variable | statement |
The string SQL statement being invoked when this exception occurred. |
Method | __init__ |
Undocumented |
Method | __reduce__ |
Undocumented |
Method | _sql_message |
Undocumented |
Method | add_detail |
Undocumented |
Instance Variable | detail |
Undocumented |
Instance Variable | hide_parameters |
Undocumented |
Instance Variable | ismulti |
Undocumented |
Inherited from SQLAlchemyError
:
Method | __str__ |
Undocumented |
Method | __unicode__ |
Undocumented |
Method | _message |
Undocumented |
Inherited from HasDescriptionCode
(via SQLAlchemyError
):
Method | _code_str |
Undocumented |
Instance Variable | code |
Undocumented |
sqlalchemy.exc.DBAPIError
Undocumented