docs: public static PluginLoader withPluginDirectory(Path pluginsDirectory) throws PluginException {
          if (pluginsDirectory == null) {
              throw new PluginException("Plugins directory can't be null");
          }
          return new PluginLoader(pluginsDirectory);
      }