2.0.2 • Published 4 years ago

@kobionic/koa-error-handler v2.0.2

Weekly downloads
10
License
Apache-2.0
Repository
gitlab
Last release
4 years ago

Koa Error Handler

npm version License Code style Build status

A Koa middleware formatting response when an error occurs in the middleware chain.

Installation

npm install @kobionic/koa-error-handler

Usage

import errorHandler from '@kobionic/koa-error-handler';
import Koa from 'koa';

const app = new Koa();
app.use(errorHandler());
app.listen();

Run Tests

npm test

Authors

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

2.0.2

4 years ago

2.0.1

4 years ago

1.1.2

4 years ago

2.0.0

4 years ago

1.1.1

4 years ago

1.1.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago