]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Prepare the groundwork for more exception types
authorZane Bitter <zbitter@redhat.com>
Thu, 17 Jan 2013 10:10:14 +0000 (11:10 +0100)
committerZane Bitter <zbitter@redhat.com>
Thu, 17 Jan 2013 10:47:47 +0000 (11:47 +0100)
commit819113b22611ce8f7780ef678792aada4e9be412
treecb23031fcc2167a18caae31b47dac45137ec6133
parentbbb87d688b6ae5b9054453791e2880072d964e44
Prepare the groundwork for more exception types

We have been abusing AttributeError and ValueError rather than raising
exceptions that actually describe the problem. This opens the way for
changes that will allow us to handle a wide variety of specific exceptions.

Change-Id: I05c99601d4e877878195e658908fffa0e126f06c
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/api/aws/exception.py
heat/api/openstack/v1/util.py
heat/tests/test_engine_service.py