Failure
data class Failure<T>(val cgsError: CgsError, val data: T? = null, val failedAt: Date = Date()) : CgsStreamState<T>
The request failed.
Parameters
cgsError
what went wrong.
data
the last known value if the SDK still holds one, null otherwise. Not null means the screen can stay up with a discreet error rather than falling back to an error page.
failedAt
when it failed.
Constructors
Properties
Functions
Link copied to clipboard
This state as a Refreshing one, keeping whatever data it holds.