onError

open fun onError(request: ImageRequest, result: ErrorResult)

Called if an error occurs while executing the request.