QueryRefreshErrorObject
data class QueryRefreshErrorObject<T>(val reply: Reply<T>, val replyUpdatedAt: Long, val error: Throwable, val errorUpdatedAt: Long, val staleAt: Long, val fetchStatus: QueryFetchStatus, val isInvalidated: Boolean, val refresh: suspend () -> Unit) : QueryObject<T>
A QueryRefreshErrorObject represents the refresh error state of the QueryObject.
This state is used when the data is successfully retrieved once, but an error occurs during the refresh.
Parameters
T
Type of data to retrieve.
Constructors
Link copied to clipboard
constructor(reply: Reply<T>, replyUpdatedAt: Long, error: Throwable, errorUpdatedAt: Long, staleAt: Long, fetchStatus: QueryFetchStatus, isInvalidated: Boolean, refresh: suspend () -> Unit)
Creates a QueryRefreshErrorObject.