onError

open override fun onError(error: Image?)

Called if an error occurs while executing the request.