summaryrefslogtreecommitdiff
path: root/openstackclient/common/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/common/exceptions.py')
-rw-r--r--openstackclient/common/exceptions.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/openstackclient/common/exceptions.py b/openstackclient/common/exceptions.py
index 5f81e6a6..bdc33ddb 100644
--- a/openstackclient/common/exceptions.py
+++ b/openstackclient/common/exceptions.py
@@ -24,6 +24,13 @@ class AuthorizationFailure(Exception):
pass
+class PluginAttributeError(Exception):
+ """A plugin threw an AttributeError while being lazily loaded."""
+ # This *must not* inherit from AttributeError;
+ # that would defeat the whole purpose.
+ pass
+
+
class NoTokenLookupException(Exception):
"""This does not support looking up endpoints from an existing token."""
pass