onError

abstract fun onError(error: <Error class: unknown class>?)