cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: error codes that should really generate an exception...
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 Nov 2005 23:51:01 +0100 (CET)
On Mon, 7 Nov 2005, Leo Huf Campos Braga wrote:
> I'm writing a simple c++ class that performs some basic libcurl
Did you see the curlpp binding? It does just that:
> When creating a CurlException class, I came accross the following dillema:
Why is that a dilemma?
> preliminary list of errors that should really terminate the program
Looked ok, except for CURLE_ABORTED_BY_CALLBACK which only gets called if your
> The only problem is that, well, I really don't know libcurl errors very
They're documented, and there's source to check details in.
> For an example, I have no idea what LDAP is, and more or less selected all
Yes, perhaps. But the point of having them as special and separated error
I see what you do, I don't quite understand the reason.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-11-07
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info