ASP Classic How To Use On Error Resume Next

by ebarcza 5/15/2013 7:49:00 AM
  Err.Clear
  On Error Resume Next ' resume if an error occurs
 'Do somethign that might cause an error 
  If Err.number <> 0 Then ' check if any errors were raised and handle them
       'Handle the Error
    response.write(Err.Description)
  End If
  On Error GoTo 0 ' turn off resume next

Tags: ,

ASP Classic

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  September 2014  >>
MoTuWeThFrSaSu
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2014

Sign in