MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / SetError

Method SetError

src/xml/tinyxml2.cpp:1778–1783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1776
1777
1778void XMLDocument::SetError( XMLError error, const char* str1, const char* str2 ) {
1779 TIXMLASSERT( error >= 0 && error < XML_ERROR_COUNT );
1780 _errorID = error;
1781 _errorStr1 = str1;
1782 _errorStr2 = str2;
1783}
1784
1785const char* XMLDocument::ErrorName() const {
1786 TIXMLASSERT( _errorID >= 0 && _errorID < XML_ERROR_COUNT );

Callers 2

ParseDeepMethod · 0.80
ParseAttributesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected