AbsaOSS / AbsaOSS/enceladus

Consolidate REST API Error handling in api-v3

Open
#2,062 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.