def handle_expired_client_cert(self, e): """ Handles the exception raised when the client certificate has expired. :param e: The Exception that was raised :type e: pulp.bindings.exceptions.ClientCertificateExpiredException :return: The exit code to be used. :rtype: int """ exit_code = ExceptionHandler.handle_expired_client_cert(self, e) desc = _('Use the login command to authenticate with the server and ' 'download a new session certificate.') self.prompt.render_paragraph(desc) return exit_code