Something went wrong
An unexpected error occurred. This has been logged and our team will investigate.
{process.env.NODE_ENV === "development" && error?.message && (
{error.message}
)}
"use client"; /** * Global Error Page — FASE-04 Error Handling * * Root-level error boundary for unrecoverable errors. * This is the last resort — catches errors that the per-page * error.js boundaries don't handle. */ interface GlobalErrorProps { error: Error & { digest?: string }; reset: () => void; } export default function GlobalError({ error, reset }: GlobalErrorProps) { return ( // lang="en" is intentional: global-error is a client-side root boundary that // renders ABOVE the next-intl provider, so the active locale isn't reliably // available here. Its visible text is static English, so lang="en" stays // consistent with the content. User-facing locale is handled by the normal // layout ( in src/app/layout.tsx).
An unexpected error occurred. This has been logged and our team will investigate.
{process.env.NODE_ENV === "development" && error?.message && (
{error.message}
)}