namespace Recyclarr.Common; public class ConflictingYamlFilesException : Exception { public ConflictingYamlFilesException(IEnumerable supportedFiles) : base(BuildMessage(supportedFiles)) { } private static string BuildMessage(IEnumerable supportedFiles) { return "Expected only 1 of the following files to exist, but found more than one: " + string.Join(", ", supportedFiles); } }