interface ErrorBoundaryProps {
    children: ReactNode;
    fallback?: ((args: {
        error: unknown;
        reset: (() => void);
    }) => ReactNode);
    handleError?: ((error: unknown) => void);
    onReset?: (() => void);
}

Properties

children: ReactNode
fallback?: ((args: {
    error: unknown;
    reset: (() => void);
}) => ReactNode)
handleError?: ((error: unknown) => void)
onReset?: (() => void)