grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.55k stars 294 forks source link

feat: Introduce a new standartized drf errors format #5223

Closed iskhakov closed 4 weeks ago

iskhakov commented 1 month ago

What this PR does

This pull request aims to standardize error handling in the Django Rest Framework by implementing the drf_standardized_errors package. The changes involve:

Which issue(s) this PR closes

Related to [issue link here]

Checklist

iskhakov commented 4 weeks ago

some of the exceptions that are raised outside of drf are not handled by drf-standartized-errors handler, especially in middleware. We need to address that before rolling this pr. Closing the PR for now