MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / SetError

Method SetError

Source/3rdParty/tinyxml2/tinyxml2.cpp:1500–1512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1498}
1499
1500void XMLDocument::SetError(const char* p, XMLError error, const char* str1, const char* str2) {
1501 _errorID = error;
1502 _errorStr1 = str1;
1503 _errorStr2 = str2;
1504 if (_charBuffer && p) {
1505 _errorLine = 1;
1506 for (char* c = _charBuffer; c != p; c++) {
1507 if (*c == '\n') {
1508 _errorLine++;
1509 }
1510 }
1511 }
1512}
1513
1514void XMLDocument::PrintError() const {
1515 if (_errorID) {

Callers 2

ParseDeepMethod · 0.80
ParseAttributesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected