penanganan kesalahan generator ekspres

app.get('/', function (req, res) {
  throw new Error('BROKEN') // Express will catch this on its own.
})
Strange Shrew