Skip to content

Commit f39a040

Browse files
committed
add an error code for email already verified
1 parent d084ac9 commit f39a040

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ParseError.js

+8
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,14 @@ 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+
436444
/**
437445
* Error code indicating that a user object without a valid session could
438446
* not be altered.

0 commit comments

Comments
 (0)