CIA Compliance Manager API Documentation - v1.0.1
    Preparing search index...

    Interface WidgetErrorBoundaryProps

    interface WidgetErrorBoundaryProps {
        children: ReactNode;
        fallback?: ReactNode;
        onError?: (error: Error, errorInfo: ErrorInfo) => void;
        testId?: string;
        widgetName?: string;
    }
    Index

    Properties

    children: ReactNode

    Child components to wrap with error boundary

    fallback?: ReactNode

    Optional custom fallback component to display on error

    onError?: (error: Error, errorInfo: ErrorInfo) => void

    Optional callback when an error is caught

    testId?: string

    Optional test ID for automated testing

    widgetName?: string

    Optional widget name for error messages