summaryrefslogtreecommitdiff
path: root/os_client_config/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'os_client_config/exceptions.py')
-rw-r--r--os_client_config/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/os_client_config/exceptions.py b/os_client_config/exceptions.py
index ab78dc2..556dd49 100644
--- a/os_client_config/exceptions.py
+++ b/os_client_config/exceptions.py
@@ -15,3 +15,11 @@
class OpenStackConfigException(Exception):
"""Something went wrong with parsing your OpenStack Config."""
+
+
+class OpenStackConfigVersionException(OpenStackConfigException):
+ """A version was requested that is different than what was found."""
+
+ def __init__(self, version):
+ super(OpenStackConfigVersionException, self).__init__()
+ self.version = version