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