onError

val onError: (request: ImageRequest, throwable: Throwable) -> Unit

A lambda function will be executed when loading failed.