async def _handle_send_message(self, coro):
        """Handle showing an error if a message fails to send."""
        try:
            await coro
        except hangups.NetworkError:
            self._status_widget.show_message('Failed to send message')
Handle showing an error if a message fails to send.
hangups/ui/__main__.py