'use client'; import * as Sentry from '@sentry/nextjs'; import { useEffect } from 'react'; import { useTranslations } from 'next-intl'; import { Container, Button, Heading } from '@/components/ui'; import Scribble from '@/components/Scribble'; export default function Error({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; }) { const t = useTranslations('Error'); useEffect(() => { Sentry.captureException(error); }, [error]); return ( {/* Industrial Background Element */}
500
500
{t('title')}

{t('description')}

{/* Decorative Industrial Line */}
); }