mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
25 lines
599 B
C#
25 lines
599 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; }
|
|
}
|
|
}
|