Error module based on boom.
$ npm install --save @hapiness/biim
or
$ yarn add @hapiness/biim
"dependencies": {
"@hapiness/biim": "^1.4.0",
//...
}
//...
Node.js Script
:
import { Biim } from '@hapiness/biim';
Biim.badRequest('my-message', 'some-data', { key: 'bad-request' });
- v2.0.0 (2017-05-07)
- Remove lifecycle
- Update deps, Boom 7
- v1.4.0 (2017-11-20)
- Latest packages' versions.
- Documentation.
- Change packaging process.
- v1.3.2
- Add module to have a lifecycle to format error message
- Latest packages' versions
- v1.2.0
- Support of
Boom v6.0.0
- Latest packages' versions
- Support of
- v1.1.0
- Improve error instantiation.
- Update unit tests.
- v1.0.0
- Final release version.
- v1.0.0-rc.6 (2017-07-16)
- Init the project.
Julien Fauville | Antoine Gomez | Sébastien Ritz | Nicolas Jessel |
Copyright (c) 2017 Hapiness Licensed under the MIT license.