Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    React error boundary that catches rendering errors in webview editors and displays a recovery UI instead of crashing the entire panel.

    Hierarchy

    Index

    Constructors

    Properties

    state: ErrorBoundaryState = ...

    Initial state with no error.

    Methods

    • Logs error details when a child component throws.

      Parameters

      • error: Error

        The error that was thrown.

      • errorInfo: ErrorInfo

        React component stack trace information.

      Returns void

    • Renders children normally, or a fallback UI if an error was caught.

      Returns ReactNode

      The children or an error recovery panel.