Screen Annotations — OPS-S-010 Error Screen
Screen ID: OPS-S-010
Flow: System error (appears on API failure)
Previous: Any screen (error replaces content)
Next: Retry returns to the originating screen
Warning Icon: Triangle warning icon in an amber/warning-colored circle background. Communicates an issue without being overly alarming (vs. red which implies data loss).
Error Message: Generic "Something went wrong" with a more specific subtitle about server connectivity. In production, the subtitle should be contextual (e.g., "Could not load orders", "Failed to save scan result").
Retry Button: Primary lime button. Re-executes the failed API call. Shows a spinner while retrying. If retry fails again, increments a retry counter and shows exponential backoff messaging.
Report Issue: Opens a simple form where staff can describe what happened. Automatically attaches device info, error code, and recent logs. Reports go to the IT support queue.
Error Code: Displayed in monospace font at the bottom. "ERR-500" is a reference code that IT support can use to look up the specific error. Includes HTTP status code mapping (500 = server error, 401 = auth, 404 = not found, etc.).