import type { ReactNode } from 'react'; export interface ErrorPageProps { title?: string; message?: string; onRetry?: () => void; className?: string; } export function ErrorPage({ title = 'Something went wrong', message = 'An unexpected error occurred. Please try again.', onRetry, className = '', }: ErrorPageProps): ReactNode { return (
{message}
{onRetry && ( )}