ErrorBoundaryContext

class ErrorBoundaryContext(val err: Throwable, val reset: () -> Unit?)

Deprecated

This implementation is deprecated. Please use the new implementation from soil-reacty module instead.

Replace with

import soil.plant.compose.reacty.ErrorBoundaryContext
ErrorBoundaryContext

Context information to pass to the fallback UI of ErrorBoundary.

Constructors

Link copied to clipboard
constructor(err: Throwable, reset: () -> Unit?)

Properties

Link copied to clipboard

The caught error.

Link copied to clipboard
val reset: () -> Unit?

The callback to invoke when the reset button placed within the content is clicked.