Story #2382
Replace MissingResource exception with a subclass of rest_framework.exceptions.APIException
Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
DRF provides an APIException[0] base class that should be used to create custom exceptions for Pulp's API. The new MissingResource exception should take two arguments: resource_type and resource_id.
[0] http://www.django-rest-framework.org/api-guide/exceptions/#apiexception
History
#1
Updated by amacdona@redhat.com over 2 years ago
- Sprint Candidate changed from Yes to No
#2
Updated by bmbouter almost 2 years ago
- Tags deleted (
Pulp 3)
Please register to edit this issue