onError

abstract fun onError(error: Throwable)

Called when there is an exception occurred

Parameters

error

the exception