@wikimedia/err

1.0.3 • Public • Published

Build Status

@wikimedia/err

A generic exception with parameter formatting and an optional metrics param

let Err = require('@wikimedia/err');

throw new Err('Invalid value %d', 10).metrics('wrong-value');

Readme

Keywords

none

Package Sidebar

Install

npm i @wikimedia/err

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

5.37 kB

Total Files

7

Last publish

Collaborators

  • mvolz
  • lwatz16
  • tchin25
  • egardner
  • ottomata
  • annetee
  • jgiannelos-wmf
  • joakin
  • krinkle
  • jdforrester
  • edg2s
  • volker_e
  • catrope
  • santhosh.thottingal
  • cscott
  • subbu_ss
  • arlolra
  • jdlrobson
  • mateusbs17
  • brightbyte
  • phuedx
  • nrayio
  • jandre3000
  • sbassett29
  • nikerabbit