From 3f4c0720e1e3421431e7baa20882a4a4512a7fab Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 19 Oct 2025 23:41:23 +0200 Subject: Initial --- src/Pages/Error.cshtml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/Pages/Error.cshtml (limited to 'src/Pages/Error.cshtml') diff --git a/src/Pages/Error.cshtml b/src/Pages/Error.cshtml new file mode 100644 index 0000000..1d1a20e --- /dev/null +++ b/src/Pages/Error.cshtml @@ -0,0 +1,26 @@ +@page +@model IOL.Fagprove.Pages.ErrorModel +@{ + ViewData["Title"] = "Error"; +} + +

Error.

+

An error occurred while processing your request.

+ +@if (Model.ShowRequestId) +{ +

+ Request ID: @Model.RequestId +

+} + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

-- cgit v1.3