Skip to content

Commit

Permalink
add an error code for email already verified
Browse files Browse the repository at this point in the history
  • Loading branch information
pash2048 committed Feb 6, 2022
1 parent d084ac9 commit f39a040
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ParseError.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f39a040

Please sign in to comment.