Options
All
  • Public
  • Public/Protected
  • All
Menu

The IErrorBoundary interface represents a service that can be invoked when an error - usually an exception - is encountered but cannot be handled locally. A component that implements this service would normally remember the error and update itself, so that in its render method it will present the error to the user.

The IErrorBoundary is implemented by the Root Virtual Node as a last resort for error handling.

Hierarchy

  • IErrorBoundary

Index

Methods

reportError

  • reportError(err: unknown): void
  • Parameters

    • err: unknown

    Returns void