diff options
author | liyingjun <liyingjun1988@gmail.com> | 2014-06-25 07:53:20 +0800 |
---|---|---|
committer | liyingjun <liyingjun1988@gmail.com> | 2014-06-26 05:15:53 +0800 |
commit | 52c5ad2eadc6a5baf4108a2283b494c27f0bfe37 (patch) | |
tree | 5b342e7eaa898311cbcfaa4340d3bd6cee4333de /novaclient/exceptions.py | |
parent | 7d9d15ee5545bd4ba3f0d15d89dc3b3570be1c68 (diff) | |
download | python-novaclient-52c5ad2eadc6a5baf4108a2283b494c27f0bfe37.tar.gz |
Sync apiclient from oslo-incubator
Need to sync the latest apiclient from oslo-incubator to make nova
cli cache work. Command used:
python update.py --base novaclient --dest-dir ../python-novaclient/ \
--modules apiclient
syncd patches:
apiclient:
* 12341ef504 Merge "Restore UUID and human-ID bash completion"
* 468afcb335 Merge "Don't slugify names that don't exist"
Change-Id: Iec2ad851b47628c5dde4272f438cce4150e11912
Close-bug: 1337033
Diffstat (limited to 'novaclient/exceptions.py')
-rw-r--r-- | novaclient/exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/novaclient/exceptions.py b/novaclient/exceptions.py index 73f04dce..29aa12cc 100644 --- a/novaclient/exceptions.py +++ b/novaclient/exceptions.py @@ -113,3 +113,8 @@ def from_response(response, body, url, method=None): cls = _code_map.get(response.status_code, HttpError) return cls(**kwargs) + + +class ResourceNotFound(Exception): + """Error in getting the resource.""" + pass |