From f39a040421ce7f9a32595984c12ad96fe8188a02 Mon Sep 17 00:00:00 2001 From: Javad Jazandari Date: Sun, 6 Feb 2022 12:51:19 +0330 Subject: [PATCH] add an error code for email already verified --- src/ParseError.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ParseError.js b/src/ParseError.js index e8d11ad84..ab23cb3a2 100644 --- a/src/ParseError.js +++ b/src/ParseError.js @@ -433,6 +433,14 @@ ParseError.EMAIL_MISSING = 204; */ ParseError.EMAIL_NOT_FOUND = 205; +/** + * Error code indicating that the email has already been verified and can not be verified again. + * + * @property {number} EMAIL_ALREADY_VERIFIED + * @static + */ + ParseError.EMAIL_ALREADY_VERIFIED = 212; + /** * Error code indicating that a user object without a valid session could * not be altered.