code: private String collectDependenciesWithoutDefinedManager(String rootDirectory, List<DependencyInfo> dependencyInfos){
          String error = null;
          try {
              collectDepDependencies(rootDirectory, dependencyInfos);
              goDependencyManager = GoDependencyManager.DEP;
          } catch (Exception e){
              try {
                  collectGoDepDependencies(rootDirectory, dependencyInfos);
                  goDependencyManager = GoDependencyManager.GO_DEP;
              } catch (Exception e1){
                  try {
                      collectVndrDependencies(rootDirectory, dependencyInfos);
                      goDependencyManager = GoDependencyManager.VNDR;
                  } catch (Exception e2) {
                      try {
                          collectGoGradleDependencies(rootDirectory, dependencyInfos);
                          goDependencyManager = GoDependencyManager.GO_GRADLE;
                      } catch (Exception e3) {
                          try {
                              collectGlideDependencies(rootDirectory, dependencyInfos);
                              goDependencyManager = GoDependencyManager.GLIDE;
                          } catch (Exception e4) {
                              try {
                                  collectGoVendorDependencies(rootDirectory, dependencyInfos);
                                  goDependencyManager = GoDependencyManager.GO_VENDOR;
                              } catch (Exception e5) {
                                  try {
                                      collectGoPMDependencies(rootDirectory, dependencyInfos);
                                      goDependencyManager = GoDependencyManager.GOPM;
                                  } catch (Exception e6) {
                                      error = "Couldn't collect dependencies - no dependency manager is installed";
                                  }
                              }
                          }
                      }
                  }
              }
          }
          return error;
      }
docs: when no dependency manager is defined - trying to run one manager after the other, till one succeeds.  if not - returning an error