mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-01 09:00:03 +01:00
22 lines
435 B
C#
22 lines
435 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace BTCPayServer.RateProvider
|
|||
|
{
|
|||
|
public class RateUnavailableException : Exception
|
|||
|
{
|
|||
|
public RateUnavailableException(string currency) : base("Rate unavailable for currency " + currency)
|
|||
|
{
|
|||
|
if(currency == null)
|
|||
|
throw new ArgumentNullException(nameof(currency));
|
|||
|
Currency = currency;
|
|||
|
}
|
|||
|
|
|||
|
public string Currency
|
|||
|
{
|
|||
|
get; set;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|