Error

sealed class Error : ResolveResult

Indicates that there was an error resolving at least one TorrentDescription.

Note that the Error may still contain some successfully resolved TorrentDescriptions in torrents.

Inheritors

Types

Link copied to clipboard
data class RequestError(val providerName: String, val torrents: List<TorrentDescription>, val httpStatusCode: HttpStatusCode?, val body: String?, val message: String? = body) : ResolveResult.Error

Indicates a network error when attempting to resolve one or more results.

Link copied to clipboard
data class UnknownError(val providerName: String, val message: String?, val exception: Throwable?, val torrents: List<TorrentDescription>) : ResolveResult.Error

Indicates an unhandled error occurred.

Properties

Link copied to clipboard
abstract val message: String?
Link copied to clipboard
abstract val providerName: String
Link copied to clipboard