MCPcopy Create free account
hub / github.com/Syncplay/syncplay / handleError

Method handleError

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

Source from the content-addressed store, hash-verified

362 })
363
364 def handleError(self, error):
365 if "startTLS" in error["message"] and not self.logged:
366 self._client._serverSupportsTLS = False
367 else:
368 self.dropWithError(error["message"])
369
370 def sendError(self, message):
371 self.sendMessage({"Error": {"message": message}})

Callers 1

handleMessagesMethod · 0.45

Calls 1

dropWithErrorMethod · 0.95

Tested by

no test coverage detected