good-errors

4.0.0 • Public • Published

good-errors

Utility stream to transform errors to object literals.

Build Status

Example usage as hapijs server options:

const options = {
    reporters: {
        consoleReporter: [
            {
                module: '@hapi/good-squeeze',
                name: 'Squeeze',
                args: [{ log: '*', response: '*' }]
            },
            {
                module: 'good-errors'
            },
            {
                module: '@hapi/good-console'
            },
            'stdout'
        ]
    }
};

Package Sidebar

Install

npm i good-errors

Weekly Downloads

80

Version

4.0.0

License

BSD-3-Clause

Unpacked Size

10.6 kB

Total Files

7

Last publish

Collaborators

  • benleen