[RFC] Allow error definitions outside bzrlib.errors?

Martin Pool mbp at canonical.com
Tue Aug 11 09:04:42 BST 2009


2009/8/11 Vincent Ladeuil <v.ladeuil+lp at free.fr>:
> Right, but the proposal is still to defined such errors as
> inheriting from BzrError right ?
>
> So the payoff will only be when we clean bzrlib.errors from the
> specific errors than can be declared in modules.
>
> I'd really prefer that we keep *some* errors defined there if
> only the generic ones.

As I see it: general errors in bzrlib.errors; module-specific or
related errors in that module; everything inheriting from BzrError
unless there's a good reason otherwise.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list