Add NoReposLoadedError custom error type for the case when any function that is supposed to load repository configs, does not load any. Use it in all functions that are directly loading repositories from configuration files.
I considered NoReposError name, but that could be later added for functions such as RepoRegistry.ReposBy...(), in case there are no repositories in the RepoRegistry for the given image type / arch.
Add
NoReposLoadedError
custom error type for the case when any function that is supposed to load repository configs, does not load any. Use it in all functions that are directly loading repositories from configuration files.I considered
NoReposError
name, but that could be later added for functions such asRepoRegistry.ReposBy...()
, in case there are no repositories in the RepoRegistry for the given image type / arch.This is a follow-up to https://github.com/osbuild/osbuild-composer/pull/4378