GetRequestWithBodyException

Thrown by MosaicNetworkImpl when an HTTP GET request would be sent with a non-null body — a real validation Mosaic's own network layer performs that isn't documented anywhere on the DSL side (SendNetworkRequest/GetScreen/RefreshScreen all accept a body regardless of method, and this only surfaces at request time). Any event issuing a GET with a non-null body fails with this as its onFailure cause.

Parameters

url

the request URL that triggered the error, included in the message.

Constructors

Link copied to clipboard
constructor(url: 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.