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

Error codes for date operations

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-06-19 21:54:00 CEST

I'll ask this directly now, since I really can't get the hang of how
subversions error codes should be really decided.

What would be a good error code for svn_time_from_nts returned
error. That is, what would be the error code when an invalid date is
passed to the date string to time conversion function?

Should it be SVN_ERR_INCORRECT_PARAMS? Or is that for errors in
parameters themselves, not their interpretation? Or is there something
else?

If a new error code is in order, should it be grouped into some
libsvn_subr error codes group? Or just added among the main errors?

And so on.

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 19 21:54:38 2002

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