| 4 | import { getErrorMessage } from '@/lib/error-messages' |
| 5 | |
| 6 | interface ErrorDisplayProps { |
| 7 | error: Error | { statusCode?: number; message?: string } |
| 8 | onRetry?: () => void |
| 9 | context?: string |
| 10 | } |
| 11 | |
| 12 | export function ErrorDisplay({ error, onRetry, context }: ErrorDisplayProps) { |
| 13 | // Extract status code from error |
nothing calls this directly
no outgoing calls
no test coverage detected