You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
394 B
12 lines
394 B
namespace Recyclarr.Common;
|
|
|
|
public class ConflictingYamlFilesException(IEnumerable<string> supportedFiles) : Exception(BuildMessage(supportedFiles))
|
|
{
|
|
private static string BuildMessage(IEnumerable<string> supportedFiles)
|
|
{
|
|
return
|
|
"Expected only 1 of the following files to exist, but found more than one: " +
|
|
string.Join(", ", supportedFiles);
|
|
}
|
|
}
|