Project

Profile

Help

Story #2382

closed

Replace MissingResource exception with a subclass of rest_framework.exceptions.APIException

Added by dkliban@redhat.com over 7 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
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

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

Actions #1

Updated by amacdona@redhat.com over 5 years ago

  • Sprint Candidate changed from Yes to No
Actions #2

Updated by bmbouter about 5 years ago

  • Tags deleted (Pulp 3)
Actions #3

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF