luaD_throw
if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR);
luaD_throw(L, LUA_ERRRUN);
luaD_throw(G(L)->mainthread, errcode); /* re-throw in main thread */
luaD_throw(L, LUA_ERRERR);
luaD_throw(L, LUA_ERRERR); /* error while handing stack error */
luaD_throw(L, -1); /* jump back to 'lua_resume' */
luaD_throw(L, LUA_YIELD);
luaD_throw(L, LUA_ERRSYNTAX);
LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode);
luaD_throw(L, status); /* re-throw error */
luaD_throw(ls->L, LUA_ERRSYNTAX);
luaD_throw(L, LUA_ERRMEM);
luaD_throw(S->L,LUA_ERRSYNTAX);
luaD_throw(L, LUA_YIELD);