Explicitly declare what errors may occur through a decorator

Registered by Christopher Yeoh on 2013-04-19

Require extension methods to explicity declare through a decorator what errors can occur. When there is an unexpected error return a 422 and perhaps ask for a bug report. in the message.

Blueprint information

Status:
Complete
Approver:
Russell Bryant
Priority:
Undefined
Drafter:
None
Direction:
Approved
Assignee:
Christopher Yeoh
Definition:
Approved
Series goal:
Accepted for havana
Implementation:
Implemented
Milestone target:
None
Started by
Thierry Carrez on 2013-05-28
Completed by
Christopher Yeoh on 2013-11-13

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/v3-api-expected-errors,n,z

Addressed by: https://review.openstack.org/30045
    Adds expected_errors decorator for API v3

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.