16 lines
389 B
C#
16 lines
389 B
C#
using System.Net;
|
|
|
|
namespace NzbDrone.Core.Exceptions
|
|
{
|
|
public class BadRequestException : DownstreamException
|
|
{
|
|
public BadRequestException(string message) : base(HttpStatusCode.BadRequest, message)
|
|
{
|
|
}
|
|
|
|
public BadRequestException(string message, params object[] args) : base(HttpStatusCode.BadRequest, message, args)
|
|
{
|
|
}
|
|
}
|
|
}
|