{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/3"}],"enrichment":{"capability":"Converts all Django REST Framework API error responses (4xx and 5xx) into a standardized JSON format with consistent error structure, type classification, and field attribution.","skillfed_tags":["drf-plugin","error-handling","api-standardization"],"use_cases":["Standardize validation error responses across all endpoints so clients parse a consistent structure.","Provide field-level error attribution (attr field) to help frontend forms display errors next to the right inputs.","Integrate with Sentry or similar error monitoring to receive errors in a predictable format.","Build API documentation that documents a single error response schema instead of multiple formats.","Customize error codes and messages globally without modifying individual serializers or views."],"what_it_does":"DRF Standardized Errors is an exception handler for Django REST Framework that intercepts API errors and reformats them into a consistent JSON structure. Instead of DRF's default varied error responses, it normalizes all 4xx and 5xx errors into a unified format with a type field (validation_error, client_error, or server_error), an errors array containing code, detail, and attr fields, and optional field-level attribution for validation failures.\n\nThe package is designed to be plugged into DRF's exception handling pipeline via a single settings change. It handles nested serializers and ListSerializer errors, integrates with error monitoring tools like Sentry, and offers customization hooks to override specific aspects of error handling without rewriting the entire handler. It does not intercept middleware-level errors or unhandled exceptions in debug mode by default.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a real pain point in DRF development\u2014inconsistent error response formats. It's particularly valuable if you're building client-facing APIs or integrating with error monitoring. Install it if you want predictable, standardized error responses across your DRF project."},"id":"drf-standardized-errors","links":{"html":"https://skillfed.io/packages/drf-standardized-errors","md":"https://skillfed.io/packages/drf-standardized-errors.md","pypi":"https://pypi.org/project/drf-standardized-errors/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-29","license_spdx":null,"license_treatment":"permissive","name":"drf-standardized-errors","python_support":"supports_current","summary":"Standardize your API error responses."},"popularity":{"monthly_downloads":510391,"position":6268,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.16.0"}
