vgquotes/Src/VideoGameQuotes.Web/Views/Shared/RecursiveExceptionView.ascx

18 lines
496 B
Plaintext
Raw Normal View History

2011-02-11 05:21:31 +00:00
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Exception>" %>
<%@ Import Namespace="Portoa.Util" %>
<p class="exception-message"><%= Model.GetType().GetFriendlyName(false) %>: <code style="white-space: pre"><%= Html.Encode(Model.Message) %></code></p>
<pre><%= Model.StackTrace %></pre>
<hr />
<div style="margin-left: 20px">
<%
if (Model.InnerException != null) {
Html.RenderPartial("RecursiveExceptionView", Model.InnerException);
}
%>
</div>