Task #2634
Add information about API error reporting to dev guide
0%
Description
Django Rest Framework has some helpful error handling features, effectively response middleware, that can be used within Pulp to help us implement a single mechanism for handling exceptions and returning meaningful errors to users when raising Exceptions, or when unhandled exceptions require a 500 response.
We should explore DRF's options for this and document a plan for handling exceptions in the API to prevent having multiple error-handling implementations in the project.
History
#1
Updated by bmbouter over 3 years ago
- Subject changed from Add information about error reporting to dev guide to Add information about API error reporting to dev guide
#2
Updated by amacdona@redhat.com over 1 year ago
- Status changed from NEW to CLOSED - CURRENTRELEASE
I think this is complete:
https://docs.pulpproject.org/en/3.0/nightly/contributing/error-handling.html
https://docs.pulpproject.org/en/3.0/nightly/contributing/platform-api/exceptions.html
Please reopen if there is more to be done.
#3
Updated by daviddavis over 1 year ago
- Sprint/Milestone set to 3.0.0
#4
Updated by bmbouter over 1 year ago
- Tags deleted (
Pulp 3)
Please register to edit this issue