code: func (p *Project) Delete() error {
  	p.Log.Debugf("deleting %d functions", len(p.Functions))
  
  	for _, fn := range p.Functions {
  		if _, err := fn.GetConfig(); err != nil {
  			if awserr, ok := err.(awserr.Error); ok && awserr.Code() == "ResourceNotFoundException" {
  				p.Log.Infof("function %q hasn't been deployed yet or has been deleted manually on AWS Lambda", fn.Name)
  				continue
  			}
  			return fmt.Errorf("function %s: %s", fn.Name, err)
  		}
  
  		if err := fn.Delete(); err != nil {
  			return fmt.Errorf("function %s: %s", fn.Name, err)
  		}
  	}
  
  	return nil
  }
docs: // Delete functions.