From 6fd2d54d554596f6a70b37ef76fa0085cb27f91e Mon Sep 17 00:00:00 2001 From: Tim Simpson Date: Thu, 21 Jun 2012 15:05:13 -0500 Subject: [PATCH] Import nova exceptions as our own, so they can be used by importing from our client directly. --- reddwarfclient/exceptions.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/reddwarfclient/exceptions.py b/reddwarfclient/exceptions.py index 8f0d8f15..5a9a0c78 100644 --- a/reddwarfclient/exceptions.py +++ b/reddwarfclient/exceptions.py @@ -13,6 +13,20 @@ # under the License. from novaclient import exceptions +from novaclient.exceptions import UnsupportedVersion +from novaclient.exceptions import CommandError +from novaclient.exceptions import AuthorizationFailure +from novaclient.exceptions import NoUniqueMatch +from novaclient.exceptions import NoTokenLookupException +from novaclient.exceptions import EndpointNotFound +from novaclient.exceptions import AmbiguousEndpoints +from novaclient.exceptions import ClientException +from novaclient.exceptions import BadRequest +from novaclient.exceptions import Unauthorized +from novaclient.exceptions import Forbidden +from novaclient.exceptions import NotFound +from novaclient.exceptions import OverLimit +from novaclient.exceptions import HTTPNotImplemented class UnprocessableEntity(exceptions.ClientException):