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

Method ThrowError

source/lib/Scripts/src/Scripts.cpp:867–876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867void ScriptFuncResult::ThrowError()
868{
869 lua_init();
870
871 if (!m_ok)
872 {
873 lua_pushstring(g_lua_state, m_msg);
874 lua_error(g_lua_state);
875 }
876}
877
878void ScriptFunction::LoadFromStack()
879{

Callers

nothing calls this directly

Calls 3

lua_initFunction · 0.85
lua_pushstringFunction · 0.85
lua_errorFunction · 0.85

Tested by

no test coverage detected