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

    Keywords

    none

    Install

    npm i @wikimedia/err

    DownloadsWeekly Downloads

    8

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    5.37 kB

    Total Files

    7

    Last publish

    Collaborators

    • pchelolo
    • joakin
    • mdholloway
    • davidbarratt
    • krinkle
    • jdforrester
    • edg2s
    • volker_e
    • catrope
    • santhosh.thottingal
    • cscott
    • subbu_ss
    • arlolra
    • ottomata
    • jdlrobson
    • clarakosi
    • mateusbs17
    • abijeet
    • brightbyte
    • nnikkhoui
    • phuedx
    • nrayio
    • jandre3000
    • sbassett29
    • nikerabbit