MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / typeerror

Function typeerror

xrepo/packages/l/lua/port/lua/src/ldebug.c:722–726  ·  view source on GitHub ↗

** Raise a type error */

Source from the content-addressed store, hash-verified

720** Raise a type error
721*/
722static l_noret typeerror (lua_State *L, const TValue *o, const char *op,
723 const char *extra) {
724 const char *t = luaT_objtypename(L, o);
725 luaG_runerror(L, "attempt to %s a %s value%s", op, t, extra);
726}
727
728
729/*

Callers 2

luaG_typeerrorFunction · 0.85
luaG_callerrorFunction · 0.85

Calls 2

luaG_runerrorFunction · 0.85
luaT_objtypenameFunction · 0.70

Tested by

no test coverage detected