Element
Description
Erl Property
Indicates the line number at which an error occurred
Err Object
Encapsulates an error
Err.Clear Method
Clears the Err object
Err.Description Property
Provides a textual description of an error
Err.GetException Method
Returns the Exception object associated with the current error
Err.HelpContext Property
Returns or sets the help file ID for the current error
Err.HelpFile Property
Returns or sets the name and path of the help file containing information about the current error
Err.LastDLLError Property
Returns the error number from an error raised by a system API DLL
Err.Number Property
Returns or sets the current error code
Err.Raise Method
Generates a user-defined error
Err.Source Property
Returns or sets the source of an error
Error Statement
Raises an error
ErrorToString Function
Returns the descriptive error message corresponding to a particular error code
Exception Class
Base class for all exceptions
IsError Function
Determines whether an object is an exception type
On Error Statement
Enables or disables an error handler
Resume Statement
Transfers control from an error handler
Throw Statement
Throws an exception
Try...Catch...Finally Statement
Handles particular errors that may occur in a block of code through structured exception handling