Skip to content

Error_Log_Status - BusinessProcess

Called by Error_Report if Status_Log_State is True

Type: Procedure

Parameters

Parameter Type Description
Errnum Integer The error number
iErrLine Integer The error line
ErrMsg String The error message

Syntax

Procedure Error_Log_Status Integer Errnum Integer iErrLine String ErrMsg

Call Example

Send Error_Log_Status Errnum iErrLine ErrMsg

Description

Error_Log_Status is called by Error_Report if Status_Log_State is True. By default it sends the message Log_Status, passing a string consisting of Error: + Error Number + Error Message. This message can also be sent. For example, you may augment OnError to send this message when Status_Log_State is False.

Procedure OnError integer ErrNum integer iErrLine string ErrMsg
    Send Error_Log_Status ErrNum iErrLine ErrMsg
End_Procedure  // OnError