lua-users home
lua-l archive

Error handling

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


Hi all,
I am writing my first large lua script to run on an embedded system and need to handle errors in my own way. I have just discovered 'pcall'...
My question is:
How do I print the function name and line number where the error occurred in my own error handler?
TIA
Bob

AltStyle によって変換されたページ (->オリジナル) /