Failure

data class Failure(val throwable: Throwable) : Data<Nothing>

Constructors

Link copied to clipboard
constructor(throwable: Throwable)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T, R> Data<T>.map(map: (T) -> R): Data<R>
inline fun <T, R> Data<T>.map(error: (Throwable) -> Throwable, success: (T) -> R): Data<R>