MCPcopy Create free account
hub / github.com/InoriRus/Kyty / SetErrMsg

Function SetErrMsg

source/lib/Scripts/src/Scripts.cpp:676–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674}
675
676void SetErrMsg(const String& msg)
677{
678 lua_init();
679
680 if (g_lua_error == nullptr)
681 {
682 g_lua_error = new String();
683 }
684
685 *g_lua_error = msg;
686}
687
688const String& GetErrMsg()
689{

Callers 2

LoadStringFunction · 0.85
RunFunction · 0.85

Calls 1

lua_initFunction · 0.85

Tested by

no test coverage detected