lua-users home
lua-l archive

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


> By the time you intercept a native Lua error it's already converted to a string by the Lua VM, so you don't need to handle another data type...

The Lua VM does not convert error values to string.

lua.c does, but it respect __tostring metamethods.