From 97eecec81958f2e4113f4f6cb773cb294b7d4f55 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Fri, 10 Jan 2020 09:36:58 +0700 Subject: [PATCH] added error --- src/constants/errors.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/constants/errors.ts b/src/constants/errors.ts index 10389db4..e7de2152 100644 --- a/src/constants/errors.ts +++ b/src/constants/errors.ts @@ -17,6 +17,7 @@ export const ERRORS = { CODE_IS_INVALID: 'Code_Is_Invalid', DOESNT_MATCH: 'Doesnt_Match', REQUIRED: 'Required', + COMMENT_NOT_FOUND: 'Comment_Not_Found', }; export const ERROR_LITERAL = { @@ -38,4 +39,5 @@ export const ERROR_LITERAL = { [ERRORS.CODE_IS_INVALID]: 'Код не существует или устарел', [ERRORS.DOESNT_MATCH]: 'Пароли не совпадают', [ERRORS.REQUIRED]: 'Обязательное поле', + [ERRORS.COMMENT_NOT_FOUND]: 'Комментарий не найден', };