Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @hapiness/biim with all npm packages installed. Try it out:

var biim = require("@hapiness/biim")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@hapiness/biim v1.4.0

Error Library to use it inside Hapiness framework or standalone using Boom



Error module based on boom.

Table of contents

Using config module

yarn or npm it in your package.json

$ npm install --save @hapiness/biim


$ 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' });

Back to top

Change History

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

Back to top


Julien Fauville Antoine Gomez Sébastien Ritz Nicolas Jessel

Back to top


Copyright (c) 2017 Hapiness Licensed under the MIT license.

Back to top


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free