MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / ConnectionFailure

Class ConnectionFailure

pymongo/errors.py:67–68  ·  view source on GitHub ↗

Raised when a connection to the database cannot be made or is lost.

Source from the content-addressed store, hash-verified

65
66
67class ConnectionFailure(PyMongoError):
68 """Raised when a connection to the database cannot be made or is lost."""
69
70
71class WaitQueueTimeoutError(ConnectionFailure):

Callers 8

test_standalone_errorMethod · 0.90
mock_connectMethod · 0.90
test_standalone_errorMethod · 0.90
mock_connectMethod · 0.90
_async_create_connectionFunction · 0.90
_create_connectionFunction · 0.90

Calls

no outgoing calls

Tested by 6

test_standalone_errorMethod · 0.72
mock_connectMethod · 0.72
test_standalone_errorMethod · 0.72
mock_connectMethod · 0.72