async def send_error(self, message: str) -> None:
        """Sends an error message to the client."""
        await self.send({'error': True, 'message': message})
Sends an error message to the client.
openhands/server/session/session.py