mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
* Allow overrides on all methods * Add non-returning SendHttpRequest methods * Use SendHttpRequest consistently * Use file-scoped namespace * Rates: Set default null value for currencyPair * Ensure it works with instances which have BTCPAY_ROOTPATH set
22 lines
567 B
C#
22 lines
567 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class GreenfieldValidationError
|
|
{
|
|
public GreenfieldValidationError()
|
|
{
|
|
}
|
|
|
|
public GreenfieldValidationError(string path, string message)
|
|
{
|
|
if (path == null) throw new ArgumentNullException(nameof(path));
|
|
if (message == null) throw new ArgumentNullException(nameof(message));
|
|
Path = path;
|
|
Message = message;
|
|
}
|
|
|
|
public string Path { get; set; }
|
|
public string Message { get; set; }
|
|
}
|
|
}
|