err param object express code example
Example: express generator error handling
app.get('/', function (req, res) {
throw new Error('BROKEN') // Express will catch this on its own.
})
app.get('/', function (req, res) {
throw new Error('BROKEN') // Express will catch this on its own.
})