OverlayAlreadyAddedException

Thrown when DisplayBottomSheet/DisplayModalBottomSheet/DisplayDialog is called with an id already in use by a currently-showing overlay of the same kind — the failure behind those 3 events' onFailure.

Parameters

overlayId

the id that was already in use, included in the message.

Constructors

Link copied to clipboard
constructor(overlayId: String)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open 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.