offspin from http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20935064.html
In my opinion one shoud not use "On Error Resume Next" for a complete ASP page. In some (rare) situations it has a use within funcions, like with XML.
Most errors can be trapped using the native IsDate(), IsNumeric(), IsObject(), TypeName(), FSO.FileExists etc functions.
Some functions that are not native in VBScript can be created, like
- IsEmail(), to check is a string is a valid email address
- IsXML(), the MSXML object has it's own error trapping
I think it is an important issue because I see many (starting?) programmers using "On Error resume Next" at the top of their code. And I have the habit of remarking that "don't do that".
(points will be distributed among meaningfull/contributing comments)