qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] Fixing the error failure


From: Markus Armbruster
Subject: Re: [Qemu-devel] [RFC] Fixing the error failure
Date: Tue, 26 Jun 2012 13:21:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

"Daniel P. Berrange" <address@hidden> writes:

> On Tue, Jun 26, 2012 at 09:54:21AM +0200, Markus Armbruster wrote:
>> Luiz Capitulino <address@hidden> writes:
>> 
>> > On Thu, 21 Jun 2012 13:42:19 +0100
>> > "Daniel P. Berrange" <address@hidden> wrote:
[...]
>> >> In libvirt we have always reserved the right to change the error
>> >> code reported for particular scenarios. So, for example, alot of
>> >> our errors started out as "InternalError" (equiv to UndefinedError)
>> >> but over time we have changed some to more specialized values
>> >> eg "InvalidOperation", "ConfigNotSupported" and so on.
>> 
>> Do you reserve the right to make changes other than from InternalError
>> to a more specific one?
>
> If I'm perfectly honest, then yes. We have tried not to gratuitouslyy
> change errors being reported, but they have definitely evolved over
> time, so more distinct error scenarios are reported, where previously
> many things would have been lumped under one code.

Pragmatic co-evolution of errors with their actual use.  Makes sense to
me, and I'd recommend we do the same in QEMU.

[...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]