lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I create the Lua pointer state, use a own lua_panic function for creating
> my exception and load the script with luaL_loadstring. 

Panic functions are not meant for handling at this level. After a panic,
a Lua state may be unusable. Use load+pcall for handling normal errors in
Lua scripts.