forked from yoyomooc/asp.net-core--for-beginner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
78 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
StudentManagement/StudentManagement/Views/Error/Error.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@* | ||
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 | ||
*@ | ||
@{ | ||
|
||
ViewBag.Title = "异常错误页面"; | ||
|
||
} | ||
|
||
|
||
|
||
<h3>程序请求时,发生了一个内部错误,我们会反馈给开发团队,尽快解决这个问题。</h3> | ||
|
||
|
||
|
||
<h5>请听过 ltm@ddxc.org 与我们取得联系</h5> | ||
|
||
<hr /> | ||
|
||
<h3>错误详情:</h3> | ||
|
||
|
||
<div class="alert alert-danger"> | ||
<h5>异常路径:</h5> | ||
|
||
<hr /> | ||
<p>@ViewBag.ExceptionPath</p> | ||
|
||
</div> | ||
|
||
|
||
|
||
<div class="alert alert-danger"> | ||
|
||
<h5>异常内容:</h5> | ||
|
||
<hr /> | ||
<p>@ViewBag.ExceptionMessage</p> | ||
</div> | ||
|
||
|
||
<div class="alert alert-danger"> | ||
<h5>异常堆栈跟踪:</h5> | ||
|
||
<hr /> | ||
<p>@ViewBag.StackTrace</p> | ||
|
||
</div> |