[Top][All Lists]
[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.
[...]
- [Qemu-devel] [RFC] Fixing the error failure, (continued)
- [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Anthony Liguori, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Anthony Liguori, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Markus Armbruster, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Daniel P. Berrange, 2012/06/21
- Re: [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/25
- Re: [Qemu-devel] [RFC] Fixing the error failure, Markus Armbruster, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Daniel P. Berrange, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure,
Markus Armbruster <=
- Re: [Qemu-devel] [RFC] Fixing the error failure, Anthony Liguori, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Markus Armbruster, 2012/06/28