lua-users home
lua-l archive

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

> Is there a way that I can feed the information 'line' and 'file' into the
> exception handler of Lua? The aim is to make Lua generate error messages
> points to the error location according to 'line' and 'file'.

You could perhaps do this by redefining _ERRORMESSAGE to print those two
globals along with the normal error information.