This commit is contained in:
2023-10-18 23:32:04 -05:00
parent 9ad9995663
commit b9493840f4
11 changed files with 134 additions and 96 deletions

View File

@@ -38,7 +38,7 @@ int32_t VNChoiceParser::onParse(
if(ret != 0) return ret;
out->texts.push_back(text);
} else {
*error = "Unknown child node '" + child->node + "'";
*error = "Unknown child node for choice event '" + child->node + "'";
return -1;
}
@@ -98,7 +98,7 @@ int32_t VNChoicesEventParser::onParse(
out->choices.push_back(choice);
} else {
*error = "Unknown child node '" + child->node + "'";
*error = "Unknown child node for choices event '" + child->node + "'";
return -1;
}

View File

@@ -71,7 +71,7 @@ int32_t VNTextEventParser::onParse(
if(ret != 0) return ret;
out->texts.push_back(text);
} else {
*error = "Unknown child node '" + child->node + "'";
*error = "Unknown child node for text event '" + child->node + "'";
return -1;
}