Skip to content

Commit 8653fd4

Browse files
committed
feat: add an error code for email already verified
1 parent d084ac9 commit 8653fd4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: src/ParseError.js

+9
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,15 @@ ParseError.EMAIL_MISSING = 204;
433433
*/
434434
ParseError.EMAIL_NOT_FOUND = 205;
435435

436+
/**
437+
* Error code indicating that the email has already been verified and can not be verified again.
438+
*
439+
* @property {number} EMAIL_ALREADY_VERIFIED
440+
* @static
441+
*/
442+
ParseError.EMAIL_ALREADY_VERIFIED = 212;
443+
444+
436445
/**
437446
* Error code indicating that a user object without a valid session could
438447
* not be altered.

0 commit comments

Comments
 (0)