Added req.validationError() for custom errors