mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-06 04:47:50 -05:00
23 lines
631 B
C#
23 lines
631 B
C#
namespace Cleanuparr.Domain.Exceptions;
|
|
|
|
/// <summary>
|
|
/// Exception thrown when µTorrent response parsing fails
|
|
/// </summary>
|
|
public class UTorrentParsingException : UTorrentException
|
|
{
|
|
/// <summary>
|
|
/// The raw response that failed to parse
|
|
/// </summary>
|
|
public string RawResponse { get; }
|
|
|
|
public UTorrentParsingException(string message, string rawResponse) : base(message)
|
|
{
|
|
RawResponse = rawResponse;
|
|
}
|
|
|
|
public UTorrentParsingException(string message, string rawResponse, Exception innerException) : base(message, innerException)
|
|
{
|
|
RawResponse = rawResponse;
|
|
}
|
|
}
|