mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
17 lines
404 B
C#
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; }
|
|||
|
}
|
|||
|
}
|