code: def _parse_response(self, respond):
          
          # convert error messages into exceptions
          mobj = self._max_qubit_error_re.match(respond.text)
          if mobj:
              raise RegisterSizeError(
                  'device register size must be <= {}'.format(mobj.group(1)))
          return True
docs: parse text of response for HTTP errors
  
          This parses the text of the response to decide whether to
          retry request or raise exception. At the moment this only
          detects an exception condition.
  
          Args:
              respond (Response): requests.Response object
  
          Returns:
              bool: False if the request should be retried, True
                  if not.
  
          Raises:
              RegisterSizeError