lua-users home
lua-l archive

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


> Thanks. If I understand the concepts correctly, then I can use the panic handler to avoid the host application from exiting in cases where Lua is unrecoverable (as opposed to normal errors that might occur when executing a script, such as syntax errors)?

If you start all Lua transactions using lua_pcall then you can catch all errors.