onFailure

val onFailure: (uri: Uri, message: String) -> Unit

Callback function which is called when the request failed. The callback should be called with the Uri of the request and a failure message