|
APGError Object |
|
See Also: |
The APGError.Clear() method clears all error information from the APGError object.
VBScript:
JScript:
| oAPGError | An APGError object. |
In addition to clearing all information from the APGError object, Clear() sets the APGError.Handled property to True. This prevents later error handlers (in the error handler chain) from being called. It would be erroneous to call the default error handler after all error information is cleared from the APGError object.
A side effect of calling APGError.Clear() is that no error is returned from APGScript.Run() or APGScript.RunArgs(). The error is, in effect, cancelled.