onError

open fun onError(error: Drawable?)

Called if an error occurs while executing the request.