btcpayserver/BTCPayServer/Models/ErrorViewModel.cs

18 lines
413 B
C#

using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
[Display(Name = "Error")]
public string Error { get; set; }
[Display(Name = "Description")]
public string ErrorDescription { get; set; }
}
}