Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You could easily trap the error number and make it pop up in a MsgBox

What would a non-developer do after seeing an error number? Click OK and carry on? Might as well just resume next



The MsgBox is there purely for debugging purposes, you take that line out before the software is put in front of users. A single object or function can generate multiple error numbers at different points & in different situations-- ideally you trap and handle them all (in varying ways depending on the type of error) during the debugging phase.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: