[Bug 1673511] [NEW] ClientException should inherit from EnvironmentError, not generic Exception

George Shuklin 1673511 at bugs.launchpad.net
Thu Mar 16 16:17:28 UTC 2017


Public bug reported:

Right now all exceptions for keystoneauth1 are inherited from
ClientException, which in turn inherited from Exception. I believe that
ClientException should inherit from  EnvironmentError, as those errors
have same origin as other  EnvironmentErrors, like IOError or OSError.

** Affects: python-keystoneauth1 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-keystoneauth1 in Ubuntu.
https://bugs.launchpad.net/bugs/1673511

Title:
  ClientException should inherit from EnvironmentError, not generic
  Exception

Status in python-keystoneauth1 package in Ubuntu:
  New

Bug description:
  Right now all exceptions for keystoneauth1 are inherited from
  ClientException, which in turn inherited from Exception. I believe
  that ClientException should inherit from  EnvironmentError, as those
  errors have same origin as other  EnvironmentErrors, like IOError or
  OSError.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keystoneauth1/+bug/1673511/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list