Since exceptions from oslo is used, ClientException doesn't have any
attributes related to HTTP, so `HttpError` should be set as default
http-based exception.
Also, attribute `code` is used in several project, so it should be
returned and marked as deprecated.
Reviewed: https:/ /review. openstack. org/94166 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=4e1ee661083 bd672a884fd13fd b1ffaadea5252a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4e1ee661083bd67 2a884fd13fdb1ff aadea5252a
Author: Andrey Kurilin <email address hidden>
Date: Mon May 19 13:48:29 2014 +0300
Set default http-based exception as `HttpError`
Since exceptions from oslo is used, ClientException doesn't have any
attributes related to HTTP, so `HttpError` should be set as default
http-based exception.
Also, attribute `code` is used in several project, so it should be
returned and marked as deprecated.
Partial-Bug: #1322183 b5bac0f2b3add74 d6747cf7c25
Change-Id: I3c71e2d25d6e36