Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



ASPError Object Properties


The ASPError object has no methods but exposes several read-only properties, which provide specific information about the error the object represents. Those properties are listed in the following table.

Property
Description
ASPCode
Returns an error code generated by IIS.
Number
Returns the standard COM error code.
Source
Returns the actual source code (when available) of the line that caused the error.
Category
Indicates if the source of the error was internal to ASP, to the scripting language, or to an object.
File
Indicates the name of the .asp file that was being processed when the error occurred.
Line
Indicates the line within the .asp file that generated the error.
Column
Indicates the column position within the .asp file that generated the error.
Description
Returns a short description of the error.
ASPDescription
Returns a more detailed description of the error if it relates to ASP.



ContentsPreviousNextIndex