Commit fecd95f
committed
Correct error return type of
`ConnectTcpError` is a subset of `ConnectError`, but the 4 additional
errors that `ConnectError` comes with:
```zig
error{
UnsupportedUriScheme,
UriMissingHost,
UriHostTooLong,
CertificateBundleLoadFailure,
}
```
...are never returned by `Client.connect()`. So we are communicating
that this method could return 1 of those 4 types, when in reality, it
never can. This commit fixes this communication error.Client.connect()
1 parent 4bc9c51 commit fecd95f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1576 | 1576 | | |
1577 | 1577 | | |
1578 | 1578 | | |
1579 | | - | |
| 1579 | + | |
1580 | 1580 | | |
1581 | 1581 | | |
1582 | 1582 | | |
| |||
0 commit comments