error codes in client code
From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2002-01-28 14:52:38 CET
I've previously mailed about what I think is a slight error code confusion in
The current situtation is that we have *one* single include file with error
The command line client code is but a user of the libraries and its private
I've started on a "client_errors.h" file right now, that currently only
Issues regarding this:
1. Several places in the client code, use library error codes when error
2. The errors currently named SVN_ERR_CL_* in the svn_error_codes.h should
3. Regarding naming, is the error codes to be considered private? I mean
Comments?
This is the first draft of 'client_errors.h'. This would need to get more
#ifdef __cplusplus
#define SVN_ERROR_START \
#define SVN_ERROR_ENUM_DEFINED
/* Define custom command line client error numbers */
SVN_ERROR_START
/* BEGIN Client errors */
SVN_ERRDEF (SVN_ERR_CL__FAILED_WRITING_TO_TEMPORARY_FILE,
SVN_ERRDEF (SVN_ERR_CL__FAILED_STAT_ON_TEMPORARY_FILE,
SVN_ERRDEF (SVN_ERR_CL__FAILED_OPENING_TEMPORARY_FILE,
SVN_ERRDEF (SVN_ERR_CL__FAILED_READING_TEMPORARY_FILE,
/* END Client errors */
SVN_ERROR_END
#undef SVN_ERROR_START
#ifdef __cplusplus
/* ----------------------------------------------------------------
-- 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.orgReceived on Sat Oct 21 14:37:00 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.