mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 18:41:12 +01:00
17 lines
497 B
C#
17 lines
497 B
C#
|
using System;
|
||
|
namespace BTCPayServer.Abstractions.Custodians;
|
||
|
public class CustodianApiException: Exception {
|
||
|
public int HttpStatus { get; }
|
||
|
public string Code { get; }
|
||
|
|
||
|
public CustodianApiException(int httpStatus, string code, string message, System.Exception ex) : base(message, ex)
|
||
|
{
|
||
|
HttpStatus = httpStatus;
|
||
|
Code = code;
|
||
|
}
|
||
|
public CustodianApiException( int httpStatus, string code, string message) : this(httpStatus, code, message, null)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|