Radarr/src/Radarr.Http/Mapping/ResourceMappingException.cs

15 lines
367 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
namespace Radarr.Http.Mapping
{
public class ResourceMappingException : ApplicationException
{
public ResourceMappingException(IEnumerable<string> error)
: base(Environment.NewLine + string.Join(Environment.NewLine, error.OrderBy(c => c)))
{
}
}
}