RemoteFetchException

open class RemoteFetchException(val url: Url, message: String, cause: Throwable? = null) : RuntimeException

Raised when a RemoteFetcher cannot retrieve a resource.

Parameters

url

resource that was requested

message

description of the failure

cause

underlying failure, if any

Inheritors

Constructors

Link copied to clipboard
constructor(url: Url, message: String, cause: Throwable? = null)

Types

Link copied to clipboard
class NotFound(url: Url, cause: Throwable? = null) : RemoteFetchException

Raised when the requested resource does not exist, as opposed to being unreachable.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val url: Url