lua-users home
lua-l archive

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


On Fri, May 30, 2014 at 12:36 PM, Thiago L. <fakedme@gmail.com> wrote:
>
>> Line numbers? stack traceback? etc?
>
debug.traceback / luaL_traceback

> Also pcall/xpcall requires you to "throw" the error again to do error
> formatting, so this thing would basically be a bit more awesome... (Not sure
> if the BRs care about awesomeness... I guess I could talk to them IRL one
> day...)
>
Huh? You just write the error message.

This is not really a complicated problem nor is it something you write
regularly so making it slightly more convenient seems like a waste.

Cheers,
Josh.