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

1.0.7 • 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

22

Version

1.0.7

License

ISC

Unpacked Size

32.7 kB

Total Files

17

Last publish

Collaborators

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