errors.py
def default_errorhandler(connection, cursor, errorclass, errorvalue):
        u"""
        Default error handler that raises an error
        """
        raise errorclass(
            msg=errorvalue.get(u'msg'),
            errno=errorvalue.get(u'errno'),
            sqlstate=errorvalue.get(u'sqlstate'),
            sfqid=errorvalue.get(u'sfqid'),
            done_format_msg=errorvalue.get(u'done_format_msg'))
u"""
        Default error handler that raises an error
        
u"""
Default error handler that raises an error
u " " " Default error handler that raises an error
def default_errorhandler(connection, cursor, errorclass, errorvalue):
        raise errorclass(
            msg=errorvalue.get(u'msg'),
            errno=errorvalue.get(u'errno'),
            sqlstate=errorvalue.get(u'sqlstate'),
            sfqid=errorvalue.get(u'sfqid'),
            done_format_msg=errorvalue.get(u'done_format_msg'))
def default_errorhandler ( connection , cursor , errorclass , errorvalue ) : raise errorclass ( msg = errorvalue . get ( u'msg' ) , errno = errorvalue . get ( u'errno' ) , sqlstate = errorvalue . get ( u'sqlstate' ) , sfqid = errorvalue . get ( u'sfqid' ) , done_format_msg = errorvalue . get ( u'done_format_msg' ) )
u"""
Default error handler that raises an error
u " " " Default error handler that raises an error
u"""
        Default error handler that raises an error
        """
connection
cursor
errorclass
errorvalue