onError

abstract fun onError(cause: Throwable? = null)