[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] include error codes in error messages

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 7 Feb 2008 09:20:16 +0100

On Wed, Feb 06, 2008 at 05:13:28PM -0800, Jack Repenning wrote:
> On Feb 6, 2008, at 1:21 PM, Branko ??ibej wrote:
>> Another thing that strikes me is that the whole errror number, e.g. 200011
>> in the example above, is quite and completely useless; because you never
>> *see* that number in the code! You see some constant + 11, so this display
>> is quite useless for searching for the cause.
> I think we're looking for "pretty displays that provide the sort of info
> naive users would push into google," more than "information-dense displays
> that the primary committers can do amazing tricks with," aren't we? And
> basically, the naive user is going to paste in the error line, whatever it
> says (or some substring). So why do we need any representation at all of
> the constant offset?

And come to think of it, why do we need a numeric representation at all if
pasting the whole error string into a search engine will yield meaningful
results? Will another numeric identifier really make that much of a
difference for a user looking for the solution to a problem?

I may seem contradictory by saying the above while having posted the patch.
I did the patch mostly as a proof-of-concept of Karl's idea, of which
I was originally convinced as well. But now it turns out that the discussion
the patch has kicked off is already worth more than the patch itself IMHO :)

Stefan Sperling <stsp_at_elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

  • application/pgp-signature attachment: stored
Received on 2008-02-07 09:20:32 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.