VadVergasov_Programming/5/Lab_153503_Verhasau/IdentityServer/Pages/Home/Error/Index.cshtml
@page
@model IdentityServer.Pages.Error.Index

<div class="error-page">
    <div class="lead">
        <h1>Error</h1>
    </div>

    <div class="row">
        <div class="col-sm-6">
            <div class="alert alert-danger">
                Sorry, there was an error

                @if (Model.View.Error != null)
                {
                    <strong>
                        <em>
                            : @Model.View.Error.Error
                        </em>
                    </strong>

                    if (Model.View.Error.ErrorDescription != null)
                    {
                        <div>@Model.View.Error.ErrorDescription</div>
                    }
                }
            </div>

            @if (Model?.View?.Error?.RequestId != null)
            {
                <div class="request-id">Request Id: @Model.View.Error.RequestId</div>
            }
        </div>
    </div>
</div>
