Rejected

data class Rejected(val error: Throwable) : Loadable<Nothing>

Deprecated

This implementation is deprecated. Please use the new implementation from soil-reacty module instead.

Replace with

import soil.plant.compose.reacty.Loadable
Loadable.Rejected(error)

Represents the state of a value that has been rejected.

Constructors

Link copied to clipboard
constructor(error: Throwable)

Properties

Link copied to clipboard
open override val error: Throwable
Link copied to clipboard
open override val errorUpdatedAt: Long
Link copied to clipboard
open override val reply: Reply<Nothing>
Link copied to clipboard
open override val replyUpdatedAt: Long = 0

Functions

Link copied to clipboard
open override fun isAwaited(): Boolean
Link copied to clipboard

Returns a DataModel that represents no data.

Link copied to clipboard

Returns a DataModel that represents pending data.