lua-users home
lua-l archive

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


> Interesting - so, is recovery possible (longjmp/throwing an exception
> to escape)?

Yes, you can longjmp to your own recovery point. However, it's not
recommended to use a panic function to handle errors in Lua. For that,
use lua_pcall.