btcpayserver/BTCPayServer/Models/ErrorViewModel.cs

19 lines
427 B
C#
Raw Normal View History

using System;
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; }
}
}