lua-users home
lua-l archive

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


Hi!
 
I am integrating Lua in to my project and I am currently trying to do some simple error handling in Lua.  All I really need to do is report the line and the file where the error occurred.  I have successfully overridden _ERRORHANDLER, but it does not seem to get called when there is an error in a dofile call.  Can anyone either tell me what I am doing wrong, or point me to an example of a working interface that does this sort of thing?  Thanks!!
 
--Jens Wessling
wessling@soartech.com