MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaL_error

Function luaL_error

deps/lua/src/lauxlib.c:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) {
87 va_list argp;
88 va_start(argp, fmt);
89 luaL_where(L, 1);
90 lua_pushvfstring(L, fmt, argp);
91 va_end(argp);
92 lua_concat(L, 2);
93 return lua_error(L);
94}
95
96/* }====================================================== */
97

Callers 15

redis_math_randomFunction · 0.85
lstopFunction · 0.85
luaB_printFunction · 0.85
luaB_setmetatableFunction · 0.85
getfuncFunction · 0.85
luaB_setfenvFunction · 0.85
generic_readerFunction · 0.85
luaB_assertFunction · 0.85
luaB_unpackFunction · 0.85
auxresumeFunction · 0.85
math_randomFunction · 0.85
str_byteFunction · 0.85

Calls 4

luaL_whereFunction · 0.85
lua_pushvfstringFunction · 0.85
lua_concatFunction · 0.85
lua_errorFunction · 0.85

Tested by

no test coverage detected