code: func ProjectConfig(c context.Context, project types.ProjectName) (*svcconfig.ProjectConfig, error) {
  	if project == "" {
  		return nil, config.ErrNoConfig
  	}
  
  	// Get the config from the config service. If the configuration doesn't exist,
  	// this will return config.ErrNoConfig.
  	configSet, configPath := config.ProjectSet(string(project)), ProjectConfigPath(c)
  
  	var pcfg svcconfig.ProjectConfig
  	if err := cfgclient.Get(c, cfgclient.AsService, configSet, configPath, textproto.Message(&pcfg), nil); err != nil {
  		log.Fields{
  			log.ErrorKey: err,
  			"project":    project,
  			"configSet":  configSet,
  			"configPath": configPath,
  		}.Errorf(c, "Failed to load project configuration content.")
  		return nil, err
  	}
  	return &pcfg, nil
  }
docs: // ProjectConfig loads the project config protobuf from the config service.
  //
  // This function will return:
  //	- nil, if the project exists and the configuration successfully loaded
  //	- config.ErrNoConfig if the project configuration was not present.
  //	- ErrInvalidConfig if the project configuration was present, but could not
  //	  be loaded.
  //	- Some other error if an error occurred that does not fit one of the
  //	  previous categories.