code: def throw_if_parsable(resp):
      
      e = None
      try:
          e = parse_response(resp)
      except:
          # Error occurred during parsing the response. We ignore it and delegate
          # the situation to caller to handle.
          LOG.debug(utils.stringify_expt())
  
      if e is not None:
          raise e
  
      if resp.status_code == 404:
          raise NoSuchObject('No such object.')
      else:
          text = resp.text if six.PY3 else resp.content
          if text:
              raise ODPSError(text, code=str(resp.status_code))
          else:
              raise ODPSError(str(resp.status_code))
docs: Try to parse the content of the response and raise an exception
      if neccessary.