[openstack-dev] [All] [Climate]Where should we define Exceptions ?

Julien Danjou julien at danjou.info
Fri Nov 22 08:58:11 UTC 2013

On Fri, Nov 22 2013, Sylvain Bauza wrote:

> Declaring Exceptions in Openstack projects is quite straightforward and
> identical for most of the projects : all of them are defined in a global
> exception.py module called each time a specific exception must be handled.

No. Ceilometer doesn't have any exception.py module for example, we
don't plan to add one.

Oslo had one and we deprecated it and have it removed from every

Having a global exception file is bad idea most of the time, as it
doesn't help to see what the exception relates to.

Julien Danjou
/* Free Software hacker * independent consultant
   http://julien.danjou.info */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131122/6897ff26/attachment.pgp>

More information about the OpenStack-dev mailing list