'use client'; import React from 'react'; import { Box } from '@/ui/Box'; import { Surface } from '@/ui/Surface'; import { Glow } from '@/ui/Glow'; import { Text } from '@/ui/Text'; import { AppErrorBoundaryView } from './AppErrorBoundaryView'; import { ErrorRecoveryActions } from './ErrorRecoveryActions'; import { ErrorDetailsBlock } from './ErrorDetailsBlock'; 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'} ); }