API errors intended to be shown to users need bilingualism
Open
backend (/api)
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Either get the client language from the request or send both an en and fr message back and let the client pick which to display.
What about errors thrown by middleware or express itself? Maybe we only care about displaying specific error descriptions for our own error cases, perhaps we catch those and make sure they have a generic error message, based on status code, for the relevant client language.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.