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

Function script_default_on_error

3rd_party/lua_sol2/include/sol.hpp:20918–20924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20916 }
20917
20918 inline protected_function_result script_default_on_error(lua_State* L, protected_function_result pfr) {
20919#if defined(SOL_DEFAULT_PASS_ON_ERROR) && SOL_DEFAULT_PASS_ON_ERROR
20920 return script_pass_on_error(L, std::move(pfr));
20921#else
20922 return script_throw_on_error(L, std::move(pfr));
20923#endif
20924 }
20925} // namespace sol
20926
20927// end of sol/state_handling.hpp

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