<connection_handle>_OnErrorEvent

Description

This function is invoked when an error occurs on an XCON connection. Create a function for each connection to monitor and name it accordingly, e.g. for connection socket1 create the function socket1_OnErrorEvent.

Signature

<connection_handle>_OnErrorEvent(errorCode)

Parameters

Name

Type

Mandatory/Optional

Description

Name

Type

Mandatory/Optional

Description

errorCode

string

M

error message

Return

None.

Related pages