MCPcopy Create free account
hub / github.com/cemu-project/Cemu / SetError

Method SetError

src/util/tinyxml2/tinyxml2.cpp:2308–2321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2306
2307
2308 void XMLDocument::SetError(XMLError error, const char* str1, const char* str2, int lineNum)
2309 {
2310 TIXMLASSERT(error >= 0 && error < XML_ERROR_COUNT);
2311 _errorID = error;
2312
2313 _errorStr1.Reset();
2314 _errorStr2.Reset();
2315 _errorLineNum = lineNum;
2316
2317 if (str1)
2318 _errorStr1.SetStr(str1);
2319 if (str2)
2320 _errorStr2.SetStr(str2);
2321 }
2322
2323 /*static*/ const char* XMLDocument::ErrorIDToName(XMLError errorID)
2324 {

Callers 2

ParseDeepMethod · 0.45
ParseAttributesMethod · 0.45

Calls 2

SetStrMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected