ErrorBoundaryState

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val error: StateFlow<Throwable?>
Link copied to clipboard
open override val keys: Set<Any>

Returns the set of keys that have caught errors.

Functions

Link copied to clipboard
open operator override fun get(key: Any): Throwable?

Returns the caught error of the key.

Link copied to clipboard
open override fun remove(key: Any)

Removes the caught error of the key.

Link copied to clipboard
open operator override fun set(key: Any, error: Throwable)

Sets the caught error of the key.