"use client"; /* * Root-level error boundary. Renders only when the root layout itself * crashes, so it must include its own / . No AppShell here — * the Providers that wrap AppShell are also above the crash boundary and * may themselves be the thing that failed. */ export default function GlobalError({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; }) { return (

שגיאה חמורה

האפליקציה נכשלה לטעון. נסה לרענן את הדף.

{error.digest && (

error id: {error.digest}

)}
); }