Capgemini / Capgemini/gov-prototype-by-prompt

Improve error messaging for users

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
size S
Dominant language
TypeScript
Stars
20
Forks
4
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

- Tell the user if an error occurred with the AI prototype generation, so they know to try again.
- Investigate if any other error messages can be anticipated, and how the user can be supported to recover from them.
- Explain what the error ID is, and what they should do with it.
- Replace UUIDs with MongoDB IDs.

### Why do you want this feature? Does it solve a problem?

Users were unsure how they can recover from errors that occur with the generic error messages.

They also didn't know what to do with the error IDs.

### How should the feature be implemented?

_No response_

### Additional context (if applicable)

A potential follow-on task would be to save errors to the database, and allow admin users to view them.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Search the TypeScript application for generic error messages, error IDs, UUID generation, and the AI prototype generation flow; done means users receive actionable recovery guidance, understand error IDs, and the identifier approach is consistently defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, nodejs, typescript
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.