异常捕获abort方法

abort() --只能抛出遵循http协议的状态码, 配合 errorhandler装饰器 来给用户显示友好的界面

posted @ 2018-06-01 12:00  exchange<>  阅读(274)  评论(0编辑  收藏  举报