HandleError - cBaseErrorHandler¶
Include: Use System\ErrorSystem.pkg
Routes an error reported to the handler.
Type: Event
Parameters¶
| Parameter | Type | Description |
|---|---|---|
iErrNum |
Integer | Error number. |
iErrLine |
Integer | Error line. |
sErrText |
String | Error text. |
Syntax¶
Procedure HandleError Integer iErrNum Integer iErrLine String sErrText
Call¶
Procedure HandleError Integer iErrNum Integer iErrLine String sErrText
Forward Send HandleError iErrNum iErrLine sErrText
End_Procedure
Description¶
HandleError checks IsUserError. User-facing errors call DisplayUserError; all other errors call DisplayUnhandledError.
Subclasses can override this event to customize routing. Forward the event when you still want the default routing.