On Wed, Feb 26, 2014 at 11:20 AM, Andrey Kurilin <akuri...@mirantis.com>wrote:

> While working on unification of clients code we try to unify various
> exceptions in different client projects.
> We have module apiclient.exceptions in oslo-incubator[1]. Since our
> apiclient is an oslo-inclubator library and not a standalone lib this
> doesn't help in case we need to process exceptions from several clients.
>
[...]

> The solution would be to use exceptions from external library - Module
> WebOb.exc[2] for example (since WebOb is already used in other openstack
> projects). This exceptions cover all our custom http exceptions.
>

I would oppose adding WebOb as a requirement for the client libraries.  I
see keystoneclient has it today but that is only because the middleware is
still in that repo (moving those is another topic).

The pain of installing the exiting client libs and their prereqs is bad
enough, adding to it is not tenable and is part of what is motivating the
SDK efforts.

dt

-- 

Dean Troyer
dtro...@gmail.com
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to