Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ Login Management Objects/ Subscribing to Login Error Notifications
Updated on 2024-07-30 GMT+08:00

Subscribing to Login Error Notifications

Function

A notification is sent when login failed.

Function Prototype

setOnLoginErrorNotifyCB(onLoginErrorNotify: (ret: SDKERR, reason: string) => void): voidsetOnLoginErrorNotifyCB(onLoginErrorNotify: (ret: SDKERR, reason: string) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onLoginErrorNotify Yes (ret: SDKERR, reason: string) => void Notifies you when login failed.

Return Values

void

Notification Method Parameters

(ret: SDKERR, reason: string) => void

Table 2 Input parameter description
Parameter Type Description
ret For details about SDKERR, see Error Code Reference. Error code.
reason string Error description.