deb-heat/heat
Steve Baker 9b6d38cd02 Client plugin exception handling methods
This change adds common methods which allow resources
to handle client exceptions without needing to directly
import the exception types.

The most common client resource exception handling is:
* Detecting if an exception is a 404
* Raising any exception which is not a 404
* Detecting if an exception is a 413 (over limit)
* Detecting if an exception was raised by a particular client
  library

Subsequent changes will move to using these methods.

Change-Id: Ib2bd55c31e66b562cfa8388beb450be6c06cc4fb
2014-07-31 16:49:08 -05:00
..
api Stop software_deployments from passing empty keys 2014-07-29 10:15:17 -04:00
cloudinit Remove translation from loguserdata 2014-06-01 17:45:46 +02:00
cmd Sync latest oslo.db code 2014-04-11 10:48:46 +03:00
common Merge "Policy Enforcer, pass entire context dict" 2014-07-29 10:10:17 +00:00
db Merge "Migrate to oslo.db" 2014-07-24 09:54:39 +00:00
doc Move resource doc generation to doc/source/ext 2013-11-13 15:21:04 +13:00
engine Client plugin exception handling methods 2014-07-31 16:49:08 -05:00
locale Imported Translations from Transifex 2014-07-04 06:02:38 +00:00
openstack Migrate to oslo.db 2014-07-15 10:14:56 +02:00
rpc Add query param to allow nested resource list 2014-07-21 17:06:38 -04:00
scaling Use add_resource() to build autoscaling templates 2014-06-05 13:45:14 -04:00
tests Client plugin exception handling methods 2014-07-31 16:49:08 -05:00
__init__.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
version.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00