CacheMissException

class CacheMissException constructor(val key: String, val fieldName: String? = null, stale: Boolean = false) : ApolloException

An object/field was missing in the cache If fieldName is null, it means a reference to an object could not be resolved

Constructors

Link copied to clipboard
constructor(key: String, fieldName: String?)
constructor(key: String, fieldName: String? = null, stale: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val fieldName: String? = null

The field key that was missing. If null, it means the object referenced by key was missing.

Link copied to clipboard
val key: String

The cache key to the missing object, or to the parent of the missing field if fieldName is not null.

Link copied to clipboard
open val message: String?
Link copied to clipboard