feat: add graceful error recovery with user-friendly error screens and retry options for improved user experience

This commit is contained in:
Usman Baig
2026-02-22 19:49:27 +01:00
parent ca805c9790
commit e0bae5a728
11 changed files with 181 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
'use client'
import ErrorDisplay from '@/components/ErrorDisplay'
export default function RealtimeError({ reset }: { error: Error; reset: () => void }) {
return (
<ErrorDisplay
title="Realtime view failed to load"
message="We couldn't connect to the realtime data stream. Please try again."
onRetry={reset}
/>
)
}