diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-04-18 17:01:42 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-04-18 17:01:42 +0000 |
| commit | e3a6fc27b0cfc9b82801e13d61c2fad3a09bf6b1 (patch) | |
| tree | 35d9bc4bbfc7bffcfcd0f9a02fac58ce3f874c98 /openstackclient/common/exceptions.py | |
| parent | 89445855acffc5ae4cf87dc501c09f3434d08bad (diff) | |
| parent | 926330d3726e9ce7001190730c69bf6ee45b422a (diff) | |
| download | python-openstackclient-e3a6fc27b0cfc9b82801e13d61c2fad3a09bf6b1.tar.gz | |
Merge "Propagate AttributeErrors when lazily loading plugins"
Diffstat (limited to 'openstackclient/common/exceptions.py')
| -rw-r--r-- | openstackclient/common/exceptions.py | 7 |
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 |
