| 6 | import Link from 'next/link' |
| 7 | |
| 8 | interface GracefulErrorProps { |
| 9 | error: Error & { digest?: string; statusCode?: number } |
| 10 | reset?: () => void |
| 11 | } |
| 12 | |
| 13 | export function GracefulError({ error, reset }: GracefulErrorProps) { |
| 14 | const statusCode = error.statusCode || 500 |
nothing calls this directly
no outgoing calls
no test coverage detected