DataNotFoundException

class DataNotFoundException(val message: String?) : Throwable

Thrown when a GetData reading resolves to null — a Single access mode reading a key that doesn't exist, or a Batch reading with allowMissingData = false hitting a missing key. Carried as GetData's onFailure incoming data.

Constructors

Link copied to clipboard
constructor(message: String?)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
open override val message: String?

Functions

Link copied to clipboard

Whether this error, or any error in its cause chain, reports that the device ran out of storage. Platforms expose no common type for this, so it matches the markers each one puts in its message: POSIX ENOSPC ("No space left on device") on Android/JVM/iOS, "There is not enough space on the disk" on Windows, and OPFS's QuotaExceededError on the web.