On Fri, Dec 23, 2011 at 11:52:08PM +0100, Branko Čibej wrote:
> Ranting is all very well, but I've yet to hear a suggestion from you
> about how the libraries should handle unrecoverable errors. Like, for
> example, the case where wc.db contains inconsistent and/or invalid data.

It's already been pointed out that throwing a descriptive error message
at the user and aborting whatever operation is running is better than
asserting. The end result is the same -- the operation is aborted. But
an assert confuses users because it provides no useful information to them.

Reply via email to