• Call a Function on Error?
    6 replies, posted
Is it possible to call a function when an error occurs?
Why would you want to do that? Errors usualy break scripts and stop them from working.
I would want to be able to view clientside errors from the server, so I would have to know when an error occurs to be able to send it to the server via concommand or datastream. Its for debugging purposes.
[url=http://www.facepunch.com/threads/859872-gm_luaerror-Hook-to-Lua-s-error-display]gm_luaerror[/url]
EPOE [url]http://www.facepunch.com/threads/1015048-EPOE-Enhanced-Perception-Of-Errors[/url]
[QUOTE=-TB-;26442424]EPOE [url]http://www.facepunch.com/threads/1015048-EPOE-Enhanced-Perception-Of-Errors[/url][/QUOTE] EPOE is for debugging, not for actually hooking into errors.
Yes, but on the 3rd post he said he want's to view the serverside errors on his client for debugging.
Sorry, you need to Log In to post a reply to this thread.