const afterValidation = new Validator(finalForm, validationRules); if (afterValidation.fails()) { const errorList = afterValidation.errors.all(); }