lua-users home
lua-l archive

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


>> Too bad Lua doesn't use its own error() model to throw an error object/table before flattening it to a string.
>
>You can throw any Lua value with lua_error() or error(), but I guess
>you mean that internally the Lua core could thrown something else.

Exactly.

Lua core errors are potentially most lethal and though recovering from them is much more difficult, deterministic error handling would be a huge benefit.

-- p