@using TightWiki.Models @model TightWiki.Models.ViewModels.Admin.ExceptionViewModel @{ Layout = "/Views/Shared/_Layout.cshtml"; var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null."); }

Exception

Server and page exception.

@if (!string.IsNullOrEmpty(Model.ErrorMessage)) {
@Html.Raw(Model.ErrorMessage)
} @if (!string.IsNullOrEmpty(Model.SuccessMessage)) {
@Html.Raw(Model.SuccessMessage)
} @using (Html.BeginForm(null, null, FormMethod.Get, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" })) { @if (string.IsNullOrEmpty(Model.Exception.Text) == false) { } @if (string.IsNullOrEmpty(Model.Exception.ExceptionText) == false) { } @if (string.IsNullOrEmpty(Model.Exception.StackTrace) == false) { }
Id
@Model.Exception.Id
Date / Time
@Model.Exception.CreatedDate
Text
@Model.Exception.Text
Exception
@Model.Exception.ExceptionText
Stack Trace
@Model.Exception.StackTrace
}