2020-06-28 21:44:35 -05:00
|
|
|
using System;
|
2020-06-08 23:40:58 +09:00
|
|
|
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
|
|
{
|
|
|
|
public class GreenfieldValidationError
|
|
|
|
{
|
|
|
|
public GreenfieldValidationError()
|
|
|
|
{
|
|
|
|
}
|
2024-06-19 15:25:33 +02:00
|
|
|
|
2020-06-08 23:40:58 +09:00
|
|
|
public GreenfieldValidationError(string path, string message)
|
|
|
|
{
|
2024-06-19 15:25:33 +02:00
|
|
|
if (path == null) throw new ArgumentNullException(nameof(path));
|
|
|
|
if (message == null) throw new ArgumentNullException(nameof(message));
|
2020-06-08 23:40:58 +09:00
|
|
|
Path = path;
|
|
|
|
Message = message;
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
public string Message { get; set; }
|
|
|
|
}
|
|
|
|
}
|