mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
18 lines
413 B
C#
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; }
|
|
}
|
|
}
|