Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
ASP.NET

Error Handling in Classic ASP

Use On Error Resume Next carefully and check Err.Number.

Error Handling in Classic ASP — a practical guide to Classic ASP error handling with clear examples you can reuse in real projects.

ASP & ASP.NET Tutorial Series (24/247). Prefer one article? Read the complete ASP.NET tutorial.

Short description

Log errors; don’t show stack details to users.

Err

On Error Resume Next
' risky call
If Err.Number <> 0 Then
  Response.Write "Something went wrong"
  Err.Clear
End If

Leave a reply

Your email address will not be published. Required fields are marked *