err_set_error_data_int
err_set_error_data_int(data, strlen(data) + 1, flags, 1);
if (!err_set_error_data_int(str, size, flags, 0))