Project

Profile

Help

Story #2382

Updated by pulpbot over 2 years ago

 

 **Ticket moved to GitHub**: "pulp/pulpcore/1812":https://github.com/pulp/pulpcore/issues/1812 




 ---- 


 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 

 

Back