DownloadCancelledException

Thrown when the user cancels a platform-native save dialog (e.g. iOS's FileKit.openFileSaver() document picker) instead of a real transfer/write failure — used by dev.catbit.mosaic.core.data.schemas.event.events.networking.DownloadFileEventSchema's runner to fire onFailure() with no data, matching the convention already used by OpenFilePickerEventRunner for picker cancellation.

Constructors

Link copied to clipboard
constructor()

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.