Skip to content

Commit

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

Please sign in to comment.