mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 10:32:13 +01:00
10 lines
348 B
C#
10 lines
348 B
C#
|
namespace BTCPayServer.Abstractions.Custodians;
|
||
|
|
||
|
public class WrongTradingPairException: CustodianApiException
|
||
|
{
|
||
|
public const int HttpCode = 404;
|
||
|
public WrongTradingPairException(string fromAsset, string toAsset) : base(HttpCode, "wrong-trading-pair", $"Cannot find a trading pair for converting {fromAsset} into {toAsset}.")
|
||
|
{
|
||
|
}
|
||
|
}
|