lua-users home
lua-l archive

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


Hello,

I am using Lua 5.0 in a library and would like to capture error 
messages. I used to do that with the function _ERRORMESSAGE in Lua 
4.0, but it has been removed...

Is there any way to capture it other than capturing it when control 
returns to C? I would like to show the user the error message myself.

The compat.lua only references _ERRORMESSAGE in a comment but there 
is nothing else there about it.

Regards,
Mark

-- 
|\/|ark Stroetzel Glasberg
mark@tecgraf.puc-rio.br

System Analyst
Tecgraf/PUC-Rio
URL:  http://www.tecgraf.puc-rio.br/~mark
Tel:  55 21 2512-5984 ext. 116
Fax:  55 21 2259-2232