1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| using System.Web;
| using System.Web.Mvc;
|
| namespace FineAdmin.Web
| {
| public class FilterConfig
| {
| public static void RegisterGlobalFilters(GlobalFilterCollection filters)
| {
| //默认的异常提示 HandleErrorAttribute
| //自定义异常提示(Handler下的 HandlerErrorAttribute)
| filters.Add(new HandlerErrorAttribute());
| }
| }
| }
|
|