class documentation

class StatementError(SQLAlchemyError):

Known subclasses: sqlalchemy.exc.DBAPIError

View In Hierarchy

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
orig =
The DBAPI exception object.
params =
The parameter list being used when this exception occurred.
statement =
The string SQL statement being invoked when this exception occurred.
def __init__(self, message, statement, params, orig, hide_parameters=False, code=None, ismulti=None):
def __reduce__(self):

Undocumented

@_preloaded.preload_module('sqlalchemy.sql.util')
def _sql_message(self, as_unicode):
def add_detail(self, msg):

Undocumented

detail: list =

Undocumented

hide_parameters =

Undocumented

ismulti =

Undocumented