Actions
Task #2634
closedAdd information about API error reporting to dev guide
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:
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.
Actions