code: public static Config getConfig(ConfigClient client, URI u, Optional<Config> runtimeConfig) {
      try {
        return client.getConfig(u, runtimeConfig);
      } catch (ConfigStoreFactoryDoesNotExistsException | ConfigStoreCreationException e) {
        throw new Error(e);
      }
    }
docs: Wrapper to convert Checked Exception to Unchecked Exception
  Easy to use in lambda expressions