mirror of
https://github.com/MAKS-IT-COM/maksit-certs-ui.git
synced 2025-12-31 12:10:03 +01:00
20 lines
440 B
C#
20 lines
440 B
C#
using System;
|
|
using System.Net.Http;
|
|
|
|
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; }
|
|
}
|
|
}
|