def unhandledError(self, failure):
        """
        The buck stops here.  This error was completely unhandled, time to
        terminate the connection.
        """
        log.err(
            failure,
            "Amp server or network failure unhandled by client application.  "
            "Dropping connection!  To avoid, add errbacks to ALL remote "
            "commands!")
        if self.transport is not None:
            self.transport.loseConnection()

        The buck stops here.  This error was completely unhandled, time to
        terminate the connection.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/amp.py