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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access