![]() ![]() |
Reference Type: Supported, Category: Error Processing, ICR#: 1621
The APPERROR^%ZTER API sets the "application error" text passed in as the error name in the Kernel error trap log (i.e., ERROR LOG [#3.075] file).
NOTE: The APPERROR^%ZTER API replaces the need to set $ZE before calling ^%ZTER:
Before:
>S $ZE=”application error” D ^%ZTER
After:
>D APPERROR^%ZTER(“application error”)
NOTE: This API was released with Kernel Patch XU*8.0*431.
APPERROR^%ZTER("application error")
application error: |
This input parameter is the "application error" name that gets displayed in the Kernel error trap log (i.e., ERROR LOG [#3.075] file). |
returns: |
Displays the "application error" text passed in as the error name in the Kernel error trap log (i.e., ERROR LOG [#3.075] file). |
>DO APPERROR^%ZTER("My Application Error")
Check the Kernel error trap and see if there is an error called "My Application Error".