MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / error

Function error

src/Chain/libraries/glua/lundump.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42static l_noret error(LoadState *S, const char *why) {
43 luaO_pushfstring(S->L, "%s: %s precompiled chunk", S->name, why);
44 global_glua_chain_api->throw_exception(S->L, THINKYOUNG_API_SIMPLE_ERROR, "%s: %s precompiled chunk", S->name, why);
45 // TODO: set error in L struct
46 luaD_throw(S->L, LUA_ERRSYNTAX);
47}
48
49
50/*

Callers 4

LoadBlockFunction · 0.70
checkliteralFunction · 0.70
fchecksizeFunction · 0.70
checkHeaderFunction · 0.70

Calls 3

luaO_pushfstringFunction · 0.85
luaD_throwFunction · 0.85
throw_exceptionMethod · 0.45

Tested by

no test coverage detected