Consolidate REST API Error handling in api-v3
Open
feature
priority: undecided
under discussion
- Dominant language
- Scala
- Stars
- 33
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
## Background
We need to consolidate responses and mainly error responses to the user from the REST API v3.
## Feature
Consolidate how we use return errors
## Notes
- This began in PR #2046 in [this comment](https://github.com/AbsaOSS/enceladus/pull/2046#discussion_r863756626)
- there are already `RestResponse` or `RestError` classes
- we should keep some kind of ID field for better tracking through logs and connecting the issues
Contributor guide
Assessment
This issue has not been assessed yet.