You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.0 KiB
28 lines
1.0 KiB
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<System.Web.Mvc.HandleErrorInfo>" %>
|
|
|
|
<asp:Content ID="errorTitle" ContentPlaceHolderID="TitleContent" runat="server">
|
|
Error
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="errorContent" ContentPlaceHolderID="MainContent" runat="server">
|
|
<h2>
|
|
<table>
|
|
<tr><td><img src="../../Content/Img/error.png" /></td><td>系统出现异常。<br/>请重试或联系系统管理员。</td></tr>
|
|
</table>
|
|
</h2>
|
|
<div id="perror" class="easyui-panel" title="详细异常信息" style="height:300px;padding:10px;"
|
|
data-options="collapsible:true,collapsed:true">
|
|
<h2>
|
|
执行<%=Model.ControllerName%>.<%=Model.ActionName %>时:
|
|
<%=Model.Exception.Message %>。
|
|
<br />
|
|
<%=Model.Exception.StackTrace%>
|
|
</h2>
|
|
</div>
|
|
<script language="javascript" type="text/javascript">
|
|
$(function () {
|
|
//$('#perror').panel('collapse', true);
|
|
}
|
|
);
|
|
</script>
|
|
</asp:Content>
|
|
|