Error Handling
Adopt a standard taxonomy and friendly UX to reduce confusion and improve recovery.Taxonomy
network_offlineauth_declinedrate_limitedcontract_failurevalidation
UX patterns
- Plain English; explain what happened and the next step
- Offer safe retry; only surface “Try again” after state change
- Provide a non‑blocking path (e.g., Continue as guest)
Auth failure examples
| Code | Title | Message | Primary |
|---|---|---|---|
USER_DECLINED | Authentication cancelled | You can still browse or try again later. | Continue browsing |
NETWORK_ERROR | Connection issue | Check your internet connection and try again. | Retry |
DOMAIN_NOT_VERIFIED | App configuration error | Contact the app developer to resolve this issue. | Go back |
Telemetry
Trackaction, surface, latency_ms, error_code. Target auth error rate < 1%.