def receiveError(self, reasonCode, description): """ Called when we receive a disconnect error message from the other side. """ error = disconnectErrors.get(reasonCode, DisconnectError) self.connectionClosed(error(reasonCode, description)) SSHClientTransport.receiveError(self, reasonCode, description)
def receiveError(self, reasonCode, description): """ Called when we receive a disconnect error message from the other side. """ error = disconnectErrors.get(reasonCode, DisconnectError) self.connectionClosed(error(reasonCode, description)) SSHClientTransport.receiveError(self, reasonCode, description)