onError

abstract fun onError(errorCode: ErrorCallback.ErrorCode)

Called when an error occurs.

Parameters

errorCode

An ErrorCode indicating the cause of the error.