diff options
author | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-05-22 13:35:31 +0930 |
---|---|---|
committer | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-06-19 14:56:17 +0930 |
commit | 7ff01fda2a307eb75baf7010ac6374197c5fa880 (patch) | |
tree | be7bb915f5d04897b8d5edd4df850dd5ec345865 /nova/utils.py | |
parent | 2bcd6b59a6d6848144ff9fb4f7b4c2241b907515 (diff) | |
download | nova-7ff01fda2a307eb75baf7010ac6374197c5fa880.tar.gz nova-7ff01fda2a307eb75baf7010ac6374197c5fa880.tar.xz nova-7ff01fda2a307eb75baf7010ac6374197c5fa880.zip |
Adds expected_errors decorator for API v3
Adds an expected_errors decorator for v3 API methods which allows
the specification of what exceptions can be raised within the
method. If an unexpected error occurs a 500 is instead returned
which plus a request to file a bug report
Partially implements blueprint v3-api-expected-errors
Change-Id: I5723e576b30b47744394517cdb1ff6bab1d8f78b
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions