mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-12-20 10:25:24 +00:00
Added static method to convert arbitrary ErrorID to a string.
Updated tests to print ErrorID and bool values as strings.
This commit is contained in:
@@ -1749,6 +1749,7 @@ public:
|
||||
return _errorID;
|
||||
}
|
||||
const char* ErrorName() const;
|
||||
static const char* ErrorName(XMLError errorID);
|
||||
|
||||
/// Return a possibly helpful diagnostic location or string.
|
||||
const char* GetErrorStr1() const {
|
||||
|
||||
Reference in New Issue
Block a user