InsufficientDiskSpaceException
Thrown by MosaicNetworkImpl.downloadFileToDisk in place of the original write error when the failure was caused by the device running out of storage — the signal DownloadFileToDiskEventRunner uses to fire onInsufficientDiskSpace() instead of onDownloadFailure()/onFailure().
Parameters
cause
the platform error that reported the lack of space.
Properties
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.