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

Suggestion: separating client error codes

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2002-01-23 10:06:37 CET

Background:

I had a go at adding the previously discussed $EDITOR feature, and it seems
to be somewhat working here. Now I want to add a good set of error codes to
make the client bail out nicely all over whereever an error might occur.

So, where do I add these new error codes? To my surprise, we "pollute" the
global "include/svn_error_codes.h" file with command line client errors right
now. I don't think this is a good idea. The command line client should keep a
private set of errors.

We can't possibly have all clients add all their error codes in the
subversion error code header file!

I think the error codes in that file should apply to all functionality
provided my subversion libraries. Functionality outside the core libraries
should not have error codes in there.

Comments?

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:58 2006

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.