MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / ConnectionFailure

Class ConnectionFailure

mongoengine/connection.py:45–50  ·  view source on GitHub ↗

Error raised when the database connection can't be established or when a connection with a requested alias can't be retrieved.

Source from the content-addressed store, hash-verified

43
44
45class ConnectionFailure(Exception):
46 """Error raised when the database connection can't be established or
47 when a connection with a requested alias can't be retrieved.
48 """
49
50 pass
51
52
53def _check_db_name(name):

Callers 3

get_connectionFunction · 0.85
_create_connectionFunction · 0.85
connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected