Lidarr/Exceptron.Client/ExceptronApiException.cs

17 lines
404 B
C#

using System;
using System.Net;
namespace Exceptron.Client
{
public class ExceptronApiException : Exception
{
public ExceptronApiException(WebException innerException, string message)
: base(message, innerException)
{
Response = (HttpWebResponse)innerException.Response;
}
public HttpWebResponse Response { get; private set; }
}
}