File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,13 @@ class BoltConnectionError(BoltError):
4040 """
4141
4242 def __init__ (self , message , address ):
43- super ().__init__ (message , address )
43+ msg = (
44+ "Connection Failed. "
45+ "Please ensure that your database is listening on the correct host and port and that you have enabled encryption if required. "
46+ "Note that the default encryption setting has changed in Neo4j 4.0. See the docs for more information. "
47+ "{}" )
48+
49+ super ().__init__ (msg .format (message ), address )
4450
4551 def __str__ (self ):
4652 s = super ().__str__ ()
Original file line number Diff line number Diff line change 5555 + BoltHandshakeError
5656 + BoltRoutingError
5757 + BoltConnectionError
58+ + BoltSecurityError
59+ + BoltConnectionBroken
60+ + BoltConnectionClosed
5861 + BoltFailure
59- + BoltSecurityError
6062 + BoltIncompleteCommitError
6163 + BoltProtocolError
6264 + Bolt*
You can’t perform that action at this time.
0 commit comments