diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-02-25 20:54:25 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-02-25 20:54:25 +0000 |
| commit | 6176e802b3a4125e983eba3805f3f90881622bc4 (patch) | |
| tree | 4a036acde45278cd2c9b22692ab34c220615514d /openstackclient/common/exceptions.py | |
| parent | 43957d602b70ac718f0eab0fa30be5a4f20a5233 (diff) | |
| parent | f49f0fead2933ace4cb85c70bd14d13d0c479e6a (diff) | |
| download | python-openstackclient-6176e802b3a4125e983eba3805f3f90881622bc4.tar.gz | |
Merge "Fixed a bunch of spacing"
Diffstat (limited to 'openstackclient/common/exceptions.py')
| -rw-r--r-- | openstackclient/common/exceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/common/exceptions.py b/openstackclient/common/exceptions.py index 8ec49931..5f5f5ab1 100644 --- a/openstackclient/common/exceptions.py +++ b/openstackclient/common/exceptions.py @@ -41,6 +41,7 @@ class UnsupportedVersion(Exception): class ClientException(Exception): """The base exception class for all exceptions this library raises.""" + def __init__(self, code, message=None, details=None): self.code = code self.message = message or self.__class__.message |
