ErrorBoundaryContext

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

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.