Failure

data class Failure<T>(val error: AO3Error) : AO3Response<T>

Represents a scenario where AO3 returns a response that does not indicate success (i.e. not a 2XX response). The meaning of the error is context-specific; further type-checking should be done in order to discern its meaning.

Constructors

Link copied to clipboard
constructor(call: Call<T>, response: Response<T>)
constructor(error: AO3Error)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard