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

Re: Sanity check: removing src_err

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-12-10 16:57:26 CET

"Glenn A. Thompson" <gthompson@cdr.net> writes:
> I guess I could map them onto DEADLOCK or create other ERRORs. I'm
> not to thrilled about mapping every error condition into APR
> space. How about an assessor to set the field?

I think Greg's point is that we don't have to map every error, we only
have to map the ones our code checks for.

And for those, it makes sense to create dedicated SVN_ERR_FOO codes
anyway -- after all, that was the whole point of that error space, and
also it's consistent with the way we've been documenting error returns
so far (e.g., "This returns SVN_ERR_FOO if the filesystem deadlocks").

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 10 17:36:42 2002

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