APGen Documentation Previous Topic: APGError.Handled Next Topic: APGError.Clear() Parent Topic: APGError Object    APGError Object
APGError.Script
See Also:

The APGError.Script property returns the APGScript object where the error occurred.

Syntax

VBScript:

oAPGScript = oAPGError.Script

JScript:

oAPGScript = oAPGError.Script;

Object

oAPGError An APGError object.

Return Value

oAPGScript The APGScript object that was being executed when the error occurred.

Notes

This property is useful for retrieving additional information about what caused the error.  For example, the APGScript.Path and the list of values from the APGScript.Values collection could be logged.

Applies To

APGError Object