@storyous/errors
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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));

Readme

Keywords

none

Package Sidebar

Install

npm i @storyous/errors

Weekly Downloads

42

Version

1.0.8

License

ISC

Unpacked Size

23.6 kB

Total Files

11

Last publish

Collaborators

  • storyous-user
  • vaclav.obornik
  • tymak
  • ivo.sofranek
  • mkoubik
  • danieldadateya
  • nte-saltpay