code: function validationMiddleware (err, req, res, next) {
    if (!err instanceof ValidationError) return next(err);
    return res.status(err.status).send({ errors: err.errors });
  }
docs: Handles thrown errors from express-validation