JuliaWeb / JuliaWeb/LibCURL.jl

Give Error messages not just error codes

Open
#83 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
35
Forks
29
PR merge metrics
No merged PRs in 30d

Description

[LibPQ.jl does this really well](https://github.com/invenia/LibPQ.jl/blob/master/src/error_codes.jl)

Here is [the docs with all the codes](https://curl.haxx.se/libcurl/c/libcurl-errors.html), but there might be another list of coddes somewhere that is easier to regex into julia code

Right now we get things passed on to FTPClient.jl which result in unuseful messages like:
```
FTPClientError("Failed to upload /foo.bar", 0x0000003c).
```

But it could have been:
```
CURLE_PEER_FAILED_VERIFICATION (60)
The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.