'use client' import { Button } from '@ciphera-net/ui' interface ErrorDisplayProps { title?: string message?: string onRetry?: () => void onGoHome?: boolean } /** * Shared error UI for route-level error.tsx boundaries. * Matches the visual style of the 404 page. */ export default function ErrorDisplay({ title = 'Something went wrong', message = 'An unexpected error occurred. Please try again or go back to the dashboard.', onRetry, onGoHome = true, }: ErrorDisplayProps) { return (
) }