-
Type:
Task
-
Resolution: Done
-
Priority:
Highest
-
Affects Version/s: None
-
None
-
STOP TB Sprint 7
While creating a diagnostic order, if the API returns an error, the error message should be displayed to the user so that they can understand why the order creation failed.
Requirement
- Capture the error message returned by the order creation API.
- Display the error message in the respective beneficiary's Order Card on the UI.
- If no error message is returned by the API, display an appropriate generic error message.
Expected Outcome
Users should be able to identify the reason for an order creation failure directly from the beneficiary's Order Card without needing to check backend logs or technical details.
- relates to
-
STOP-456 When results pushed from the AI engine or from the app fail, no error detail is surfaced, so users are unable to identify where the error occurred.
-
- Closed
-