Skip to content

Commit

Permalink
feat: added an error code for email already verified
Browse files Browse the repository at this point in the history
  • Loading branch information
pash2048 committed Dec 23, 2021
1 parent d084ac9 commit b143807
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 b143807

Please sign in to comment.