namespace Cleanuparr.Domain.Exceptions;
///
/// Exception thrown when µTorrent response parsing fails
///
public class UTorrentParsingException : UTorrentException
{
///
/// The raw response that failed to parse
///
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;
}
}