FailureReason

sealed class FailureReason

Enum describing the reason a download or other network request failed.

Inheritors

Types

Link copied to clipboard

Book download failed for an unspecified reason.

Link copied to clipboard
object Companion
Link copied to clipboard
data class MissingMetadata(val message: String) : FailureReason

Metadata required for starting the download was missing.

Link copied to clipboard

A request could not be completed due to a network issue.

Link copied to clipboard

The token previously given was expired, revoked, malformed, or invalid for other reasons.

Link copied to clipboard

The token was valid, but the user does not have access to this content.

Link copied to clipboard

The requested remote resource was not found.

Link copied to clipboard

Some other failure reason. See the provided exception for details.