open-index/open-npm huggingface dataset:
npm package: @kartotherian/err
Description: A generic exception with parameter formatting and an optional metrics param
Author: Yuri Astrakhan
Latest version: 1.0.2-wmf.0

[![Build Status](https://travis-ci.org/kartotherian/err.svg?branch=master)](https://travis-ci.org/kartotherian/err)

# @kartotherian/err
A generic exception with parameter formatting and an optional metrics param

```
let Err = require('@kartotherian/err');

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