prog
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user