mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
added exceptron log target.
This commit is contained in:
16
Exceptron.Client/ExceptronApiException.cs
Normal file
16
Exceptron.Client/ExceptronApiException.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user