> On 30 Apr 2022, at 12:42, Daniel Stenberg via curl-library > <curl-library@lists.haxx.se> wrote: > > On Mon, 25 Apr 2022, Dmitry Karpov wrote: > >> So, as far as documentation is concerned, I was envisioning that this >> feature will be documented as "opaque resolver code, which meaning depends >> on the used resolver backend". Because this is a debugging feature, there is >> no need to document more in libcurl, and the application developers can look >> it up in the resolver code and provide a better information/description if >> needed. > > Shouldn't that value then rather just get shown with an infof() call?
Yes, a backend agnostic error code with the backend specific information added with infof(). This is what we do for other variable-backend subsystems and I don't see why this would benefit from being different. -- Daniel Gustafsson https://vmware.com/ -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html