code: def _create_download_failed_message(exception, url):
      
      message = 'Failed to download from:\n{}\nwith {}:\n{}'.format(url, exception.__class__.__name__, exception)
  
      if _is_temporal_problem(exception):
          if isinstance(exception, requests.ConnectionError):
              message += '\nPlease check your internet connection and try again.'
          else:
              message += '\nThere might be a problem in connection or the server failed to process ' \
                         'your request. Please try again.'
      elif isinstance(exception, requests.HTTPError):
          try:
              server_message = ''
              for elem in decode_data(exception.response.content, MimeType.XML):
                  if 'ServiceException' in elem.tag or 'Message' in elem.tag:
                      server_message += elem.text.strip('\n\t ')
          except ElementTree.ParseError:
              server_message = exception.response.text
          message += '\nServer response: "{}"'.format(server_message)
  
      return message
docs: Creates message describing why download has failed
  
      :param exception: Exception raised during download
      :type exception: Exception
      :param url: An URL from where download was attempted
      :type url: str
      :return: Error message
      :rtype: str