mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 10:32:13 +01:00
14 lines
400 B
C#
14 lines
400 B
C#
|
using BTCPayServer.Client.Models;
|
||
|
|
||
|
namespace BTCPayServer.Abstractions.Custodians;
|
||
|
|
||
|
public class AssetQuoteUnavailableException : CustodianApiException
|
||
|
{
|
||
|
public AssetPairData AssetPair { get; }
|
||
|
|
||
|
public AssetQuoteUnavailableException(AssetPairData assetPair) : base(400, "asset-price-unavailable", "Cannot find a quote for pair " + assetPair)
|
||
|
{
|
||
|
this.AssetPair = assetPair;
|
||
|
}
|
||
|
}
|