errors.InternalError("Unread result found") code example Example: raise errors.InternalError("Unread result found") cursor = cnx.cursor(buffered=True)