code: func NewConflictError(conflicts merge.Conflicts) *errors.StatusError {
  	causes := []metav1.StatusCause{}
  	for _, conflict := range conflicts {
  		causes = append(causes, metav1.StatusCause{
  			Type:    metav1.CauseTypeFieldManagerConflict,
  			Message: fmt.Sprintf("conflict with %v", printManager(conflict.Manager)),
  			Field:   conflict.Path.String(),
  		})
  	}
  	return errors.NewApplyConflict(causes, getConflictMessage(conflicts))
  }
docs: // NewConflictError returns an error including details on the requests apply conflicts