onError

public void onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)

Called when the operation fails.

Parameters

errorCode

The error code indicating the reason for failure.

errorData

Additional information associated with the error code, whose type is specified by the generic parameter of the interface.


@Deprecated()
public abstract void onError(int errorCode, T errorData)

Deprecated

Deprecated

onError