Skip to content

Error_Log_Status - BasicReport

Called by Error_Report if Status_Log_State is True

Type: Procedure

Parameters

Parameter Type Description
ErrNum Integer the error number
Err_Line Integer the error line
ErrMsg String the error message

Syntax

Procedure Error_Log_Status Integer ErrNum Integer Err_Line String ErrMsg

Call Example

Send Error_Log_Status ErrNum Err_Line 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