mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-04 09:58:13 +01:00
19 lines
487 B
C#
19 lines
487 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
using System.Xml.Linq;
|
|||
|
|
|||
|
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; }
|
|||
|
}
|
|||
|
}
|