Feedback and states · §5.27
Error state
A calm failure with a way forward.
Code
<ErrorState onRetry={retry} t={t} titleKey="error.generic" />Accessibility
- A calm sentence and a Try again button; staff get a copyable correlation ID.
Usage
Do
- Keep entered data.
Don't
- Never stack traces or IDs for patients.
Platforms
- Web
- apps/web/components/edflow/states.tsx
- iOS
- SwiftUI ContentUnavailableView
- Android
- Compose Column