lua-users home
lua-l archive

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


> I wonder why you decided not to let a program to set its own "warning"
> handler from Lua, but only from C API.
>
> We can already intercept somewhat the error handling routines with
> xpcall, why not allow customizing warning handling from Lua too?

A warning is not an error condition. Your Lua program behaves the same
with or without a warning.
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org