code: function errHandler(err, req, res) {
      if (!err.status) { log(err); }
      error(err.status || 500, req, res, u.str(err));
    }
docs: error handler middleware body-parser returns err.status = 400 on POST with invalid json (application/json content-type)