http4s/http4s-curl

Better error messages

armanbilge opened this issue · 1 comments

So far I've been lazy and just print the error code. But it's actually not that hard to do something smarter and more user-friendly.

https://curl.se/libcurl/c/curl_easy_strerror.html
https://curl.se/libcurl/c/CURLOPT_ERRORBUFFER.html

I'll do this after websocket implementation, as this will need to change a lot of places.