1.常用的异常状况:
2.使用koa项目,推荐一个很好用的返回json格式的错误处理中间件 ---- koa-json-error
错误处理
原文:https://www.cnblogs.com/kaiqinzhang/p/12118688.html