Error

data class Error(val message: String, val retryLabel: String? = null) : StylishContentState<Nothing>

The request failed and may optionally expose a retry action to the host.

Constructors

Link copied to clipboard
constructor(message: String, retryLabel: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T, R> StylishContentState<T>.mapContent(transform: (T) -> R): StylishContentState<R>

Maps only the content branch while preserving the state contract.