@storyous/errors
v1.0.7
Published
## Usage
Downloads
135
Keywords
Readme
errors
Usage
import { AppError } from '@storyous/errors';
throw AppError.internal('Something went wrong.');
...
import { initErrHandler } from '@storyous/errors';
const app = new Koa();
app.use(initErrHandler(logger));