You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two error types look like this, side by side:
```zig
pub const RequestError = ConnectTcpError || error{
UnsupportedUriScheme,
UriMissingHost,
UriHostTooLong,
CertificateBundleLoadFailure,
};
pub const ConnectError = ConnectTcpError || RequestError;
```
Once evaluated, then end up containing the exact same error types, so it
is redundant to have them both. I chose to keep `RequestError` because
it is used slightly more and also so the `Client.request()` method gets
an error return type that matches the name of the method.
0 commit comments