source: Application/ocrent/Views/Shared/Error.cshtml

Last change on this file was f5f7c24, checked in by 192011 <mk.snicker@…>, 17 months ago

Initial commit

  • Property mode set to 100644
File size: 881 bytes
Line 
1@model Models.DatabaseModels.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.