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.
17 lines
463 B
17 lines
463 B
namespace Recyclarr.Common;
|
|
|
|
public class ConflictingYamlFilesException : Exception
|
|
{
|
|
public ConflictingYamlFilesException(IEnumerable<string> supportedFiles)
|
|
: base(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);
|
|
}
|
|
}
|