Datalayer VS Code Extension - v0.0.18
    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
    state: ErrorBoundaryState = ...

    Initial state with no error.

    • 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.