mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 18:41:12 +01:00
10 lines
431 B
C#
10 lines
431 B
C#
|
namespace BTCPayServer.Abstractions.Custodians;
|
||
|
|
||
|
public class InvalidWithdrawalTargetException : CustodianApiException
|
||
|
|
||
|
{
|
||
|
public InvalidWithdrawalTargetException(ICustodian custodian, string paymentMethod, string targetAddress, CustodianApiException originalException) : base(403, "invalid-withdrawal-target", $"{custodian.Name} cannot withdraw {paymentMethod} to '{targetAddress}': {originalException.Message}")
|
||
|
{
|
||
|
}
|
||
|
}
|