MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / error

Function error

libaegisub/lua/utils.cpp:184–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184[[noreturn]] int error(lua_State *L, const char *fmt, ...) {
185 va_list argp;
186 va_start(argp, fmt);
187 luaL_where(L, 1);
188 lua_pushvfstring(L, fmt, argp);
189 va_end(argp);
190 lua_concat(L, 2);
191 throw error_tag();
192}
193
194[[noreturn]] int argerror(lua_State *L, int narg, const char *extramsg) {
195 lua_Debug ar;

Callers 14

lua_text_textentsFunction · 0.85
RegisterCommandMethod · 0.85
LuaIncludeMethod · 0.85
LuaCommandMethod · 0.85
LuaExportFilterMethod · 0.85
LuaDialogMethod · 0.85
CheckAllowModifyMethod · 0.85
CheckBoundsMethod · 0.85
LuaToAssEntryMethod · 0.85
ObjectIndexReadMethod · 0.85
LuaSetUndoPointMethod · 0.85
GetObjPointerMethod · 0.85

Calls 1

error_tagClass · 0.85

Tested by

no test coverage detected