Error types defined in h11 and httpx #1555
Unanswered
ludo-lumapps
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to catch a LocalProtocolError error from within a Client.post, but I realized that I wasn't catching the "correct" one.
Turns out I need to catch:
from h11 import LocalProtocolError
rather than
from httpx import LocalProtocolError
Is this normal?
Beta Was this translation helpful? Give feedback.
All reactions