| LUA_ERROR(3) | Library Functions Manual | LUA_ERROR(3) |
lua_error —
generates a Lua error, function indicator [-1, +0,
v]
#include
<lua.h>
int
lua_error(lua_State
*L);
lua_error()
generates a Lua error. The error message (which can actually be a Lua value
of any type) must be on the stack top.
This function does a long jump, and therefore never returns.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The luaL_error() manual page is based on
Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
| July 14, 2022 | Debian |