[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Error messages
- From: Josh Simmons <simmons.44@...>
- Date: Fri, 30 May 2014 12:30:00 +1000
On Fri, May 30, 2014 at 11:44 AM, Thiago L. <fakedme@gmail.com> wrote:
> As you all know, chunks take a chunk name string thingy, and it can be
> "=<whatever>" if you want to customize the chunk name on error messages and
> stuff... What if you could make a function handle error message displaying?
> Something like...
You already can, just at the call site not the load site.
http://www.lua.org/manual/5.2/manual.html#pdf-xpcall
http://www.lua.org/manual/5.2/manual.html#lua_pcall