@staticmethod
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'))
