argilla icon indicating copy to clipboard operation
argilla copied to clipboard

[FEATURE-BRANCH] refactor: improve API v1 error handling

Open jfcalvo opened this issue 8 months ago • 1 comments

Description

This is the feature branch for all the issues related with improving error handling.

The code changes should improve the code without modifying API v1 behavior at all. This means that error responses should be the same.

Closes #4871

Type of change

(Please delete options that are not relevant. Remember to title the PR according to the type of change)

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [x] Refactor (change restructuring the codebase without changing functionality)
  • [ ] Improvement (change adding some improvement to an existing functionality)
  • [ ] Documentation update

How Has This Been Tested

(Please describe the tests that you ran to verify your changes. And ideally, reference tests)

  • [x] Modifying and improving already existent tests.

Checklist

  • [ ] I added relevant documentation
  • [ ] follows the style guidelines of this project
  • [ ] I did a self-review of my code
  • [ ] I made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I filled out the contributor form (see text above)
  • [ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

jfcalvo avatar May 28 '24 07:05 jfcalvo