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.
Dotnet-WebAPI/Services/ServiceException.cs

13 lines
257 B

using Services.Failures;
namespace Services;
public class ServiceException : Exception
{
public List<Failure> Failures { get; init; }
public ServiceException(params Failure[] failures)
{
Failures = new List<Failure>(failures);
}
}