This commit is contained in:
Paul Schneider 2021-04-11 22:39:26 +01:00
commit 1b2d850522
33 changed files with 49 additions and 88 deletions

View file

@ -1,4 +1,5 @@
using System;
using IdentityServer4.Models;
namespace nuget_host.Models
{
@ -7,5 +8,18 @@ namespace nuget_host.Models
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
public ErrorViewModel()
{
}
public ErrorViewModel(string error)
{
Error = new ErrorMessage { Error = error };
}
public ErrorMessage Error { get; set; }
}
}