LoadErrorFallbackConfig

Defines the conditions for falling back to a different resource when encountering a load error.

Inheritors

Types

Link copied to clipboard
data class Custom(val callback: (IOException) -> Boolean) : LoadErrorFallbackConfig

A fallback config based on a custom implementation.

Link copied to clipboard
data class HttpStatusCode(val statusCodes: List<Int>) : LoadErrorFallbackConfig

A fallback config based on HTTP status codes.