Arc.React
    Preparing search index...

    Interface QueryErrorBoundaryProps

    Props for QueryErrorBoundary.

    interface QueryErrorBoundaryProps {
        children: ReactNode;
        fallback?: ReactNode;
        onError?: (info: QueryErrorInfo) => ReactNode;
    }

    Hierarchy (View Summary)

    Index

    Properties

    children: ReactNode
    fallback?: ReactNode

    A React node to render when an error is caught. Use this for simple static fallback UIs. When both fallback and onError are provided, onError takes precedence.

    onError?: (info: QueryErrorInfo) => ReactNode

    Called when the boundary catches an error. Return a React node to render in place of the failed subtree, or undefined / null to fall back to the default error UI.