Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Properties
Err Object
Property: Err.Description
Implemented in version 1.0
object.
Description
[ = string]
This property returns or sets a string containing a brief textual description of an error. The optional
string
argument lets you define the description of the error in your code. Otherwise, providing the generated error number relates to a VBScript runtime error, the
Description
value is automatically filled with a default description.
Code:
<%
On Error Resume Next
Err.Raise 48
Err.Description = "My error"
Response.Write "Error type is '" & Err.Description & "'."
%>
Output:
"Error type is 'My error'."
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information