@storyous/errors
v1.0.8
Published
## Usage
Downloads
169
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));