MatrixRoomUtils

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

Error.cshtml (1541B)


      1 @page
      2 @model MatrixRoomUtils.Web.Server.Pages.ErrorModel
      3 
      4 <!DOCTYPE html>
      5 <html lang="en">
      6 
      7 <head>
      8     <meta charset="utf-8" />
      9     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
     10     <title>Error</title>
     11     <link href="~/css/bootstrap/bootstrap.min.css" rel="stylesheet" />
     12     <link href="~/css/app.css" rel="stylesheet" asp-append-version="true" />
     13 </head>
     14 
     15 <body>
     16     <div class="main">
     17         <div class="Content px-4">
     18             <h1 class="text-danger">Error.</h1>
     19             <h2 class="text-danger">An error occurred while processing your request.</h2>
     20 
     21             @if (Model.ShowRequestId)
     22             {
     23                 <p>
     24                     <strong>Request ID:</strong> <code>@Model.RequestId</code>
     25                 </p>
     26             }
     27 
     28             <h3>Development Mode</h3>
     29             <p>
     30                 Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred.
     31             </p>
     32             <p>
     33                 <strong>The Development environment shouldn't be enabled for deployed applications.</strong>
     34                 It can result in displaying sensitive information from exceptions to end users.
     35                 For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
     36                 and restarting the app.
     37             </p>
     38         </div>
     39     </div>
     40 </body>
     41 
     42 </html>