btcpayserver/BTCPayServer/RateProvider/RateUnavailableException.cs
NicolasDorier b5c6ed3860 Init
2017-09-13 15:55:16 +09:00

21 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;
}
}
}