Anapher/Strive

View on GitHub
src/Services/Identity/Identity.API/Quickstart/Home/ErrorViewModel.cs

Summary

Maintainability
A
0 mins
Test Coverage
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.


using Duende.IdentityServer.Models;

namespace Identity.API.Quickstart.Home
{
    public class ErrorViewModel
    {
        public ErrorViewModel()
        {
        }

        public ErrorViewModel(string error)
        {
            Error = new ErrorMessage { Error = error };
        }

        public ErrorMessage Error { get; set; }
    }
}