code: func LoadLocalMspWithType(dir string, bccspConfig *factory.FactoryOpts, mspID, mspType string) error {
  	if mspID == "" {
  		return errors.New("the local MSP must have an ID")
  	}
  
  	conf, err := msp.GetLocalMspConfigWithType(dir, bccspConfig, mspID, mspType)
  	if err != nil {
  		return err
  	}
  
  	return GetLocalMSP().Setup(conf)
  }
docs: // LoadLocalMspWithType loads the local MSP with the specified type from the specified directory