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

Function script_default_on_error

extlibs/sol3/include/sol/sol.hpp:24261–24267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24259 }
24260
24261 inline protected_function_result script_default_on_error(lua_State* L, protected_function_result pfr) {
24262#if defined(SOL_DEFAULT_PASS_ON_ERROR) && SOL_DEFAULT_PASS_ON_ERROR
24263 return script_pass_on_error(L, std::move(pfr));
24264#else
24265 return script_throw_on_error(L, std::move(pfr));
24266#endif
24267 }
24268
24269 namespace stack {
24270 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