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

Error.

An error occurred while processing your request.

@if(Model != null && Model.ShowRequestId) {

Request ID: @Model.RequestId

}

Development Mode

Swapping to Development environment will display more detailed information about the error that occurred.

Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.