onError

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