Error
The data acquired when an error occurred during a torrentsearch.TorrentProvider query.
Inheritors
Types
Link copied to clipboard
Indicates an error when creating the query details for the provider's API. This usually occurs when the query string or id search method is not available for the provider.
Link copied to clipboard
data class RequestError(val providerName: String, val httpStatusCode: HttpStatusCode?, val body: String?, val message: String? = body) : ProviderResult.Error
Indicates a network error when attempting a query.
Link copied to clipboard
data class UnknownError(val providerName: String, val message: String?, val exception: Throwable?) : ProviderResult.Error
Indicates an unhandled error occurred.