onError

open fun onError(error: Image?)

Called if an error occurs while executing the request.