PDA

View Full Version : Managing error messages?


manolete111
08-03-2009, 12:15 PM
Hi, i want to know if is possible to manage the steps to do when happends thinks like that:

"on start, line 49: attempt to call a string value"

Basically i want to hide the message, send a POST message to my server and display a nice window to the user telling that something is wrong.

pww
08-03-2009, 03:09 PM
I don't think it's possible to handle this type of errors when a function receives a wrong type and/or a wrong number of arguments. You should fix these errors (like check/validate arguments) in the project, not try to catch/suppress them at runtime.