source: PostgreSqlDotnetCore/Views/Shared/Error.cshtml@ 784b3ad

main
Last change on this file since 784b3ad was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 2 months ago

init commit Elena

  • Property mode set to 100644
File size: 859 bytes
Line 
1@model ErrorViewModel
2@{
3 ViewData["Title"] = "Error";
4}
5
6<h1 class="text-danger">Error.</h1>
7<h2 class="text-danger">An error occurred while processing your request.</h2>
8
9@if (Model.ShowRequestId)
10{
11 <p>
12 <strong>Request ID:</strong> <code>@Model.RequestId</code>
13 </p>
14}
15
16<h3>Development Mode</h3>
17<p>
18 Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
19</p>
20<p>
21 <strong>The Development environment shouldn't be enabled for deployed applications.</strong>
22 It can result in displaying sensitive information from exceptions to end users.
23 For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
24 and restarting the app.
25</p>
Note: See TracBrowser for help on using the repository browser.