using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ACMEv2 { public class LetsEncrytException : Exception { public LetsEncrytException(Problem problem, HttpResponseMessage response) : base($"{problem.Type}: {problem.Detail}") { Problem = problem; Response = response; } public Problem Problem { get; } public HttpResponseMessage Response { get; } } }