Re: Error handling in C
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Error handling in C
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2003年10月15日 13:39:14 -0200
Reuben Thomas wrote:
>Is there a way to stop the lua standalone program producing the error
>message "(error with no message)"? I want to be able to call error(false)
>in my programs and produce no error, because neither _ALERT nor _TRACEBACK
>affects this, and as far as I can see from the lua.c code, there's no way
>of changing that (indeed, I changed it myself).
We did read your request and it's on our list of things to discuss.
It is possible to avoid that message:
_TRACEBACK=function() return "" end
but that's probably not what you want...
--lhf