zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/Models/Generics/ErrorViewModel.cs
2023-12-05 17:22:48 +08:00

14 lines
363 B
C#

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