Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest a way to standardize and localize API & business errors #249

Open
aniri opened this issue Jan 9, 2020 · 1 comment
Open

Suggest a way to standardize and localize API & business errors #249

aniri opened this issue Jan 9, 2020 · 1 comment

Comments

@aniri
Copy link
Member

aniri commented Jan 9, 2020

Please suggest a common response body for all API errors so they can be handled easily and consistently from client apps.

The error messages should also be localized so they will be displayed to the user in their desired language. Idea: we could use the accept-language header in all requests to the API.

@idormenco
Copy link
Member

in progress , PoC Provided

@idormenco idormenco moved this from To do - API to In progress in Monitorizare vot - API and Web Admin Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

4 participants