mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
16 lines
410 B
C#
16 lines
410 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Client
|
|
{
|
|
public class GreenFieldAPIException : Exception
|
|
{
|
|
public GreenFieldAPIException(Models.GreenfieldAPIError error) : base(error.Message)
|
|
{
|
|
if (error == null)
|
|
throw new ArgumentNullException(nameof(error));
|
|
APIError = error;
|
|
}
|
|
public Models.GreenfieldAPIError APIError { get; }
|
|
}
|
|
}
|