mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
22 lines
516 B
C#
22 lines
516 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace BTCPayServer.Services.Rates
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|