good-errors
v4.0.0
Published
Utility stream to transform errors to object literals
Downloads
332
Maintainers
Readme
good-errors
Utility stream to transform errors to object literals.
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'
]
}
};