[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/10]: QError v4
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 00/10]: QError v4 |
Date: |
Mon, 23 Nov 2009 17:15:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Luiz Capitulino <address@hidden> writes:
> On Sat, 21 Nov 2009 11:02:41 +0100
> Markus Armbruster <address@hidden> wrote:
>
>> Now, what should a client do when it discovers the monitor command it
>> needs to use has grown a new error? Refuse to use the command for fear
>> of having to present a sub-par error message to the user in case it
>> fails?
>
> What's your solution for this problem?
>
>> Yes, the client needs updating in such a scenario. But since it's a
>> normal, expected situation, I wouldn't call it a client bug. And
>> regardless how we call it, we better handle it gracefully.
>
> The best thing the client can do here is to print the error class.
In my opinion, the best such a client can do to report such an error to
a human user is to show the (localized) error class (assuming it knows
*that*, which is not a given), plus the (not localized) human-readable
message the server sent along with the unknown error code. I'd expect
the latter part to be more useful in practice than the former.
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, (continued)
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Markus Armbruster, 2009/11/21
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Anthony Liguori, 2009/11/22
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Luiz Capitulino, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Anthony Liguori, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Luiz Capitulino, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Alexander Graf, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Luiz Capitulino, 2009/11/24
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Alexander Graf, 2009/11/24
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Markus Armbruster, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Luiz Capitulino, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4,
Markus Armbruster <=
[Qemu-devel] Re: [PATCH 00/10]: QError v4, Paolo Bonzini, 2009/11/18