Section A.8. Error Handling

A 8 Error Handling

Clear Method

Resets the current Err object

Description Property

Returns or sets the Err object's description of the current error

Err Object

Contains information about the last error

HelpContext Property

Returns or sets the help file ID for the Err object's current error

HelpFile Property

Returns or sets the name and path of the help file relating to the Err object's current error

Number Property

Returns or sets the current error code for an Err object

On Error Resume Next Statement

Indicates that errors will be handled within script and that program execution should continue on the line of code following an error

Raise Method

Generates a user-defined error

Source Property

Returns or sets the name of the object or application which raised an Err object's error

Категории