1.0.8 • Published 6 months ago
@storyous/errors v1.0.8
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));