MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getErrorDesc

Method getErrorDesc

Engine/source/console/SimXMLDocument.cpp:311–318  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get error description of XML document. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

309// Get error description of XML document.
310// -----------------------------------------------------------------------------
311const char* SimXMLDocument::getErrorDesc(void) const
312{
313 if(!m_qDocument)
314 {
315 return StringTable->insert("No document");
316 }
317 return m_qDocument->ErrorStr();
318}
319
320DefineEngineMethod( SimXMLDocument, getErrorDesc, const char*, (),,
321 "@brief Get last error description.\n\n"

Callers 1

SimXMLDocument.cppFile · 0.80

Calls 2

insertMethod · 0.45
ErrorStrMethod · 0.45

Tested by

no test coverage detected