onError

public void onError(IRongCoreEnum.CoreErrorCode errorCode, String 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, String errorData)

Deprecated

Deprecated

onError