C++
C#
VB
JScript
All

Classes IErr­Object


The ErrObject is used to retrieve information about run-time errors. The Err object is an intrinsic mrScriptBasic object, which means that you can use it without first creating an instance of it.

Remarks

With the properties and methods of the ErrObject, you can:

Groups

Operations
Method Clear

Clears all property settings of the Err object.

Method Raise

Generates a run-time error.

Read/Write Properties
IDL Property Description

Returns or sets the error description associated with an object.

IDL Property HelpContext

Returns or sets a context ID for a topic in a Help file.

IDL Property HelpFile

Returns or sets a fully qualified path to a Help file.

IDL Property LineNumber

Returns or sets the line number on which the error occurred.

IDL Property Location

Returns or sets the script location at which the error occurred.

IDL Property Number

Returns or sets a numeric value representing an error.

IDL Property Source

Returns or sets the name of the object that originated the error.

Interface ID

The ID of the IErrObject interface is 84DEAF4A-848F-40CA-A10B-8B3775BC3C24.