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 |
An object containing 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 |
Get VBScript in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.