[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.

reply via email to

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