Error_Report - cBaseErrorHandler¶
Include: Use System\ErrorSystem.pkg
Receives runtime error reports and starts trapped error handling.
Type: Event
Parameters¶
| Parameter | Type | Description |
|---|---|---|
iErrNum |
Integer | Error number. |
iErrLine |
Integer | Error line. |
sErrText |
String | Error text. |
Syntax¶
Procedure Error_Report Integer iErrNum Integer iErrLine String sErrText
Call¶
Procedure Error_Report Integer iErrNum Integer iErrLine String sErrText
Forward Send Error_Report iErrNum iErrLine sErrText
End_Procedure
Description¶
The runtime calls Error_Report when an error is reported. If the error number is not trapped, no handler method is called. If the error number is trapped, Error_Report calls HandleError iErrNum iErrLine sErrText.
Developers normally customize HandleError, DisplayUserError, or DisplayUnhandledError instead of calling Error_Report directly.