MCPcopy Index your code
hub / github.com/Syncplay/syncplay / dropWithError

Method dropWithError

syncplay/protocols.py:121–124  ·  view source on GitHub ↗
(self, error)

Source from the content-addressed store, hash-verified

119 self._client.destroyProtocol()
120
121 def dropWithError(self, error):
122 self._client.ui.showErrorMessage(error)
123 self._client.protocolFactory.stopRetrying()
124 self.drop()
125
126 def _extractHelloArguments(self, hello):
127 username = hello["username"] if "username" in hello else None

Callers 3

connectionLostMethod · 0.95
handleHelloMethod · 0.95
handleErrorMethod · 0.95

Calls 3

stopRetryingMethod · 0.80
showErrorMessageMethod · 0.45
dropMethod · 0.45

Tested by

no test coverage detected