ErrorResult

class ErrorResult(val image: Image?, val request: ImageRequest, val throwable: Throwable) : ImageResult

Indicates that an error occurred while executing the request.

Constructors

Link copied to clipboard
constructor(image: Image?, request: ImageRequest, throwable: Throwable)

Properties

Link copied to clipboard
open override val image: Image?

The error drawable.

Link copied to clipboard
open override val request: ImageRequest

The request that was executed to create this result.

Link copied to clipboard

The error that failed the request.

Functions

Link copied to clipboard
fun copy(image: Image? = this.image, request: ImageRequest = this.request, throwable: Throwable = this.throwable): ErrorResult