MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / typeerror

Function typeerror

Dependencies/lua/src/ldebug.c:742–746  ·  view source on GitHub ↗

** Raise a type error */

Source from the content-addressed store, hash-verified

740** Raise a type error
741*/
742static l_noret typeerror (lua_State *L, const TValue *o, const char *op,
743 const char *extra) {
744 const char *t = luaT_objtypename(L, o);
745 luaG_runerror(L, "attempt to %s a %s value%s", op, t, extra);
746}
747
748
749/*

Callers 2

luaG_typeerrorFunction · 0.85
luaG_callerrorFunction · 0.85

Calls 2

luaT_objtypenameFunction · 0.85
luaG_runerrorFunction · 0.85

Tested by

no test coverage detected