'use client'; import { Card } from '@/ui/Card'; import { Glow } from '@/ui/Glow'; import { Text } from '@/ui/Text'; import { Stack } from '@/ui/Stack'; import { ErrorPageContainer } from '@/ui/ErrorPageContainer'; import { AppErrorBoundaryView } from './AppErrorBoundaryView'; import { ErrorDetailsBlock } from './ErrorDetailsBlock'; import { ErrorRecoveryActions } from './ErrorRecoveryActions'; import React from 'react'; interface ErrorScreenProps { error: Error & { digest?: string }; reset: () => void; onHome: () => void; } /** * ErrorScreen * * Semantic component for the root-level error boundary. * Follows "Precision Racing Minimal" theme. */ export function ErrorScreen({ error, reset, onHome }: ErrorScreenProps) { return ( {/* Background Accents */} {/* Error Message Summary */} {error.message || 'Unknown execution error'} ); }