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'
]
}
};