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

Function handle_errors

extlibs/sol3/include/sol/sol.hpp:3403–3408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3401 };
3402
3403 inline int handle_errors(lua_State* L, const error_result& er) {
3404 if (er.format_string == nullptr) {
3405 return er.results;
3406 }
3407 return luaL_error(L, er.format_string, er.args_strings[0], er.args_strings[1], er.args_strings[2], er.args_strings[3]);
3408 }
3409 } // namespace detail
3410
3411 class error : public std::runtime_error {

Callers 8

atMethod · 0.85
getMethod · 0.85
setMethod · 0.85
addMethod · 0.85
insertMethod · 0.85
findMethod · 0.85
index_ofMethod · 0.85
eraseMethod · 0.85

Calls 1

luaL_errorFunction · 0.85

Tested by

no test coverage detected