@model string
@{
    ViewData["Title"] = "Error";
}

<div class="container py-5">
    <h1 class="text-danger">Error.</h1>
    <h2 class="text-danger">An error occurred while processing your request.</h2>

    @if (!string.IsNullOrEmpty(Model))
    {
        <p>
            <strong>Error details:</strong> @Model
        </p>
    }
</div>