Radarr/Exceptron.Client/ExceptronApiException.cs

17 lines
404 B
C#
Raw Normal View History

2013-06-06 04:33:16 +00:00
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; }
}
}