summaryrefslogtreecommitdiff
path: root/novaclient/exceptions.py
diff options
context:
space:
mode:
authorliyingjun <liyingjun1988@gmail.com>2014-06-25 07:53:20 +0800
committerliyingjun <liyingjun1988@gmail.com>2014-06-26 05:15:53 +0800
commit52c5ad2eadc6a5baf4108a2283b494c27f0bfe37 (patch)
tree5b342e7eaa898311cbcfaa4340d3bd6cee4333de /novaclient/exceptions.py
parent7d9d15ee5545bd4ba3f0d15d89dc3b3570be1c68 (diff)
downloadpython-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.py5
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