]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat API : Convert API to use HeatAPIException subclasses
authorSteven Hardy <shardy@redhat.com>
Wed, 4 Jul 2012 14:41:20 +0000 (15:41 +0100)
committerSteven Hardy <shardy@redhat.com>
Thu, 5 Jul 2012 08:54:54 +0000 (09:54 +0100)
commit9ce1d94553bd6341ac0416d1920be32506d7a94b
tree6d98548570d30c0a26eb6dbd2f7c58dd5d26ceff
parent9de825c5d2395a420df8c66331d2ae2dcb351efd
heat API : Convert API to use HeatAPIException subclasses

Covert API to use HeatAPIException subclasses, instead of
plain webob exceptions, which cannot be correctly serialized
by the wsgi controller, and map engine errors to API exceptions
so the raw engine exception is not propogated to the user.
ref #125
fixes #150

Change-Id: I164c71e12ed29f40ad67188b645ca7ad2fa1fee8
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/api/v1/stacks.py