<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def on_raw_410(self, message):
 """ Unknown CAP subcommand or CAP error. Force-end negotiations. """

        self.logger.error('Server sent "Unknown CAP subcommand: %s". Aborting capability negotiation.', message.params[0])

        self._capabilities_requested = set()
        self._capabilities_negotiating = set()
        await self.rawmsg('CAP', 'END')