httpcore
httpcore copied to clipboard
Added httpcore.SSLError and redirect TLS handshake errors to it.
Summary
Discussed at https://github.com/encode/httpx/discussions/3214.
httpcore.SSLError
is subclass of httpcore.ConnectError
, so it's backward compatible.
Checklist
- [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
- [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
- [x] I've updated the documentation accordingly.