You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following third-party packages are also available.
266
+
267
+
## DRF Standardized Errors
268
+
269
+
The [drf-standardized-errors][drf-standardized-errors] package provides an exception handler that generates the same format for all 4xx and 5xx responses. It is a drop-in replacement for the default exception handler and allows customizing the error response format without rewriting the whole exception handler. The standardized error response format is easier to document and easier to handle by API consumers.
Copy file name to clipboardExpand all lines: docs/community/third-party-packages.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,7 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
149
149
*[django-api-client][django-api-client] - DRF client that groups the Endpoint response, for use in CBVs and FBV as if you were working with Django's Native Models..
150
150
*[fast-drf] - A model based library for making API development faster and easier.
151
151
*[django-requestlogs] - Providing middleware and other helpers for audit logging for REST framework.
152
+
*[drf-standardized-errors][drf-standardized-errors] - DRF exception handler to standardize error responses for all API endpoints.
0 commit comments