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 bug is reproducible against the latest release and/or master.
There are no similar issues or pull requests to fix it yet.
Describe the bug
According to the documentation, there should be an httpx.TimeoutException class that you can catch if you want to catch any timeout related exception. However, such exception doesn't exist.
To reproduce
importhttpxhttpx.TimeoutException
Additional context
I'm assuming it's intended behaviour, and it's a case of the docs not being updated when introducing httpcore over urllib3. However, I'm unsure about what the correct approach now is; should one catch HTTPError instead, or are we forced to catch each individual timeout related exception?
The text was updated successfully, but these errors were encountered:
Checklist
master
.Describe the bug
According to the documentation, there should be an
httpx.TimeoutException
class that you can catch if you want to catch any timeout related exception. However, such exception doesn't exist.To reproduce
Additional context
I'm assuming it's intended behaviour, and it's a case of the docs not being updated when introducing httpcore over urllib3. However, I'm unsure about what the correct approach now is; should one catch HTTPError instead, or are we forced to catch each individual timeout related exception?
The text was updated successfully, but these errors were encountered: