'use client' // Review M-6: a backend outage is not a logout. Server components throw // BackendUnavailableError (auth guards) or fail their data fetch; show a // retry surface instead of redirecting to /login or rendering empty data. import { useEffect } from 'react' export default function AppError({ error, reset }: { error: Error & { digest?: string }; reset: () => void }) { useEffect(() => { console.error('App route failed', error) }, [error]) return (

Service temporarily unavailable

The application backend could not be reached. You are still signed in; try again in a moment.

) }