zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/Models/Generics/ErrorViewModel.cs

14 lines
363 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using System.Diagnostics.CodeAnalysis;
namespace ZeroFramework.IdentityServer.API.Models.Generics
{
public class ErrorViewModel
{
[AllowNull]
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
public Duende.IdentityServer.Models.ErrorMessage? Error { get; set; }
}
}