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

Function handle_errors

Libs/sol/sol.hpp:3933–3938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3931 };
3932
3933 inline int handle_errors(lua_State* L, const error_result& er) {
3934 if (er.format_string == nullptr) {
3935 return er.results;
3936 }
3937 return luaL_error(L, er.format_string, er.args_strings[0], er.args_strings[1], er.args_strings[2], er.args_strings[3]);
3938 }
3939 } // namespace detail
3940
3941 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

no outgoing calls

Tested by

no test coverage detected