MCPcopy Create free account
hub / github.com/MyGUI/mygui / getLastError

Method getLastError

MyGUIEngine/src/MyGUI_XmlDocument.cpp:890–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888 }
889
890 std::string Document::getLastError() const
891 {
892 std::string_view error = mLastError.print();
893 if (error.empty())
894 return {};
895 return MyGUI::utility::toString(
896 "'",
897 error,
898 "' , file='",
899 mLastErrorFile,
900 "' , line=",
901 mLine,
902 " , col=",
903 mCol);
904 }
905
906 bool Document::open(const UString& _filename)
907 {

Callers 11

Gui.hFile · 0.80
setupResourcesMethod · 0.80
_loadImplementMethod · 0.80
loadMethod · 0.80
loadFromProjectMethod · 0.80
saveMethod · 0.80
saveToProjectMethod · 0.80
loadMethod · 0.80
deleteItemFromProjectMethod · 0.80
renameItemInProjectMethod · 0.80
addItemToProjectMethod · 0.80

Calls 3

toStringFunction · 0.85
printMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected