onError

abstract fun onError(error: Error)

Called when any error occurs

Parameters

error

The error that occurred