mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-04 01:53:52 +01:00
27 lines
655 B
C#
27 lines
655 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
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; }
|
|||
|
}
|
|||
|
}
|