import { Component, JSX, ErrorBoundary as SolidErrorBoundary } from 'solid-js'; import { logError } from '@/utils/logger'; import { SectionHeader } from '@/components/shared/SectionHeader'; interface ErrorBoundaryProps { children: JSX.Element; fallback?: (error: Error, reset: () => void) => JSX.Element; onError?: (error: Error) => void; } const DefaultErrorFallback: Component<{ error: Error; reset: () => void }> = (props) => { return (
Please try again or reload the page. If the problem persists, contact your administrator.
{error.message}