Skip to content

Commit

Permalink
Add custom exception handler for standardized error responses
Browse files Browse the repository at this point in the history
- Replace 'detail' with 'message' for error consistency
- Format error messages into a single readable string
- Handle cases without a response using a generic error

Ensures all responses follow the project's SuccessResponse format.
  • Loading branch information
QuvonchbekBobojonov committed Jan 15, 2025
1 parent 4600425 commit fee1a93
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

The following versions of the `django-success-response` package are actively supported with security updates:

| Version | Supported |
| -------- | ------------------ |
| 1.0.0 | :white_check_mark: |
| Version | Supported |
|---------| ------------------ |
| 1.0.5 | :white_check_mark: |
| 1.1.0 | :white_check_mark: |

## Reporting a Vulnerability

Expand Down

0 comments on commit fee1a93

Please sign in to comment.