MCPcopy
hub / github.com/urllib3/urllib3 / ConnectTimeoutError

Class ConnectTimeoutError

src/urllib3/exceptions.py:138–139  ·  view source on GitHub ↗

Raised when a socket timeout occurs while connecting to a server

Source from the content-addressed store, hash-verified

136# This timeout error does not have a URL attached and needs to inherit from the
137# base HTTPError
138class ConnectTimeoutError(TimeoutError):
139 """Raised when a socket timeout occurs while connecting to a server"""
140
141
142class NewConnectionError(ConnectTimeoutError, HTTPError):

Callers 8

test_retry_total_noneMethod · 0.90
test_retry_defaultMethod · 0.90
test_error_messageMethod · 0.90
test_historyMethod · 0.90
_new_connMethod · 0.85
_new_connMethod · 0.85

Calls

no outgoing calls

Tested by 6

test_retry_total_noneMethod · 0.72
test_retry_defaultMethod · 0.72
test_error_messageMethod · 0.72
test_historyMethod · 0.72