MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / script_default_on_error

Function script_default_on_error

Libs/sol/sol.hpp:25050–25056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25048 }
25049
25050 inline protected_function_result script_default_on_error(lua_State* L, protected_function_result pfr) {
25051#if SOL_IS_ON(SOL_DEFAULT_PASS_ON_ERROR_I_)
25052 return script_pass_on_error(L, std::move(pfr));
25053#else
25054 return script_throw_on_error(L, std::move(pfr));
25055#endif
25056 }
25057
25058 namespace stack {
25059 inline error get_traceback_or_errors(lua_State* L) {

Callers

nothing calls this directly

Calls 2

script_pass_on_errorFunction · 0.85
script_throw_on_errorFunction · 0.85

Tested by

no test coverage detected