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

{t('title')}

{t('description')}

); }