Returns the current run-time error module.
[ obModule = ] GetErrorModule ( )
The GetErrorModule procedure syntax has the following parts:
Name |
Type |
Description |
obModule |
Object |
The current run-time error module. |
This function can be used only when a non-fatal and recoverable run-time error occurred and the OnError subroutine was called. Otherwise, the function returns nothing.
This example demonstrates how to return the current run-time error module.
obModule = GetErrorModule()
print "Error in Module:"; obModule.Name
Abort, GetErrorNum, Ignore, Pause, Retry