[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Line info for Lua Scripts
- From: "Terence Martin" <odat@...>
- Date: Wed, 20 Jun 2001 21:22:24 -0700
> 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.