Package-level declarations

Types

Link copied to clipboard
class InvalidStateException(expected: String?, got: String?, val cause: Throwable? = null) : IllegalStateException

Exception thrown when the state is not of desired type when using state methods that validate it, such as withStateOrThrow

Link copied to clipboard

Exception thrown when attempting to start a store that is already active.

Link copied to clipboard
class StoreTimeoutException(timeout: Duration, val cause: Throwable? = null) : RuntimeException

Exception thrown when the operation in the store has timed out. Unlike regular CancellationException, is caught by the pro.respawn.flowmvi.api.StorePlugin.onException handler and the recover plugin.