Open daniel-arnauer opened 2 years ago
This issue has been automatically marked as stale because it has not had activity for 30 days. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had activity for 30 days. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because of inactivity. You can re-open it if needed.
TODOs:
For the error standard: stackTrace and message should be part of the standard, where message is a readable reason
This issue is related to #940
Description 💡
The HTTP response bodies of API, excel-export, storage-service, email-service do not have a consistent format. This makes it very difficult to display human readable error messages in the frontend snackbar.
To resolve this issue, all HTTP error response bodies should have the same format that consists of:
For example, the current error response from the API looks like this:
This could be changed to:
Goal is to have a global TruBudget Convention/Standard that defines how HTTP Responses should look like in order to display user relevant information in the frontend (Message property in response).
Relates to/ Solves #111
TODOs