koa-better-error-handler@1.3.0

A better error-handler for Koa v2+, built for CrocodileJS. Makes `ctx.throw` beautiful again :sparkles!

MIT 2017-09-15 已弃用
Please upgrade to v10.0.0+ as we have added RedisError handling and improved DNS error handling
安装 (1.3.0)
npm install koa-better-error-handler@1.3.0
yarn add koa-better-error-handler@1.3.0
pnpm add koa-better-error-handler@1.3.0
bun add koa-better-error-handler@1.3.0
dependencies (6)
包名版本要求
babel-runtime ^6.23.0
boom ^5.1.0
co ^4.6.0
debug ^3.0.1
lodash ^4.17.4
underscore.string ^3.3.4
devDependencies (18)
包名版本要求
babel-cli ^6.24.1
babel-plugin-add-module-exports ^0.2.1
babel-plugin-transform-runtime ^6.23.0
babel-preset-crocodile ^1.0.0
chai ^4.0.2
codecov ^2.2.0
dirty-chai ^2.0.0
eslint-config-crocodile ^1.0.0
istanbul ^1.1.0-alpha.1
koa ^2.3.0
koa-connect-flash ^0.1.2
koa-convert ^1.2.0
koa-generic-session ^2.0.0
koa-redis ^3.0.0
koa-router ^7.2.1
mocha ^3.4.2
redis ^2.7.1
supertest ^3.0.0
版本列表
12.0.0 2026-01-02
11.0.4 2023-02-14
11.0.3 2023-02-01
11.0.2 2023-01-31
11.0.1 2023-01-31
11.0.0 2023-01-20
10.0.8 2023-01-15
10.0.7 2022-07-05
10.0.6 2022-07-03
10.0.5 2022-07-02
10.0.4 2022-07-02
10.0.3 2022-07-02
10.0.2 2022-07-02
10.0.1 2022-07-01
10.0.0 2022-07-01
9.0.0 2022-06-03
8.0.1 2022-06-02
8.0.0 2022-06-02
7.0.1 2021-03-19
7.0.0 2021-02-18
6.0.1 2020-08-23
6.0.0 2020-08-23
5.0.0 2020-07-07
4.0.3 2020-05-31
4.0.2 2020-05-12
4.0.1 2020-05-12
4.0.0 2020-05-12
3.0.5 2020-01-29
3.0.4 2019-12-23
3.0.3 2019-09-05
3.0.1 2019-09-03
3.0.0 2019-09-03
2.0.0 2019-03-25
1.3.6 2018-07-30
1.3.5 2018-01-01
1.3.4 2018-01-01
1.3.3 2017-12-31
1.3.2 2017-11-30
1.3.0 2017-09-15
1.2.0 2017-06-26
1.1.2 2017-04-30
1.1.1 2017-03-26
1.0.9 2016-10-26
1.0.8 2016-10-26
1.0.7 2016-09-12
1.0.6 2016-07-31
1.0.5 2016-07-28