What is the ASP error object?
The Active Server Pages (ASP) module includes different types of objects including the ASP error object. This object displays the error message and the information about a specific error that occurs while a script runs on a page. The error object has certain properties associated with it, which are described below.
Properties
-
File: If there is an error in some specific file, then it returns the name of that file. -
Line: This returns the line number at which the error is found. -
Number: We use this to send the error code of the error. -
Source: We use this to the get source code of the specific line where the error occurs. -
ASPCode: We use this to return the error code which is generated by Internet Information Services (IIS). -
Column: This returns the column at which the error occurs within the file where it occurs. -
Description: This returns the information about the error. -
Category: This returns the category which generated the error. -
ASPDescription:If the error is ASP related, then it gives a detailed description.
Free Resources