Re: Problems with bubbling up tracebacks in Lua (& proposed solution)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Problems with bubbling up tracebacks in Lua (& proposed solution)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2013年9月22日 10:54:28 -0300
> 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.