Re: fine-grained lua_pcall() error processing
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: fine-grained lua_pcall() error processing
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2013年3月13日 00:20:14 -0300
> Too bad Lua doesn't use its own error() model to throw an error object/table before flattening it to a string.
You can throw any Lua value with lua_error() or error(), but I guess
you mean that internally the Lua core could thrown something else.