onError

public abstract 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.