[packagekit] Reviewing use of internal-error

Elliot Peele elliot at bentlogic.net
Mon Mar 24 13:21:30 PDT 2008


On Mon, Mar 24, 2008 at 04:13:44PM -0400, Robin Norwood wrote:
> On Mon, 24 Mar 2008 14:38:22 -0400
> Elliot Peele <elliot at bentlogic.net> wrote:
> 
> > On Mon, Mar 24, 2008 at 05:32:06PM +0000, Richard Hughes wrote:
> > > Guys, we shouldn't be using internal-error at all:
> > > 
> > > If you give me a list of enums to add, I'll do them as quick as you
> > > like :-)
> > 
> > For the conary backend it would be nice to have these:
> > 
> > update error
> > repository error
> 
> I can add these for you if you want, however, is it possible to be a
> little more specific?  You may not have enough data from conary to
> break these out into more specific cases, but if you do, let's do
> that.

I don't really get a better error from conary unless I try to parse the
text of the exception. I intend to return the enum and the text of the
exception to the user.

Elliot

-- 
Elliot Peele
elliot at bentlogic.net



More information about the PackageKit mailing list