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