feat: add error code for email already verified
See parse-community/parse-server##7740
New Pull Request Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am creating this PR in reference to an issue.
Issue Description
This PR adds a new error code when users requestEmailVerification for verified email, now the parse server sends the OTHER_CAUSE error code and it needs a better error code instead of -1 and should have a message instead of stack property.
Related issue: parse-community/parse-server##7740
Thanks for opening this pull request!
- ❌ Please edit your post and use the provided template when creating a new pull request. This helps everyone to understand your post better and asks for essential information to quicker review the pull request.
The label type:feature cannot be used here.
Codecov Report
:exclamation: No coverage uploaded for pull request base (
alpha@d084ac9). Click here to learn what that means. The diff coverage isn/a.
:exclamation: Current head 8653fd4 differs from pull request most recent head f39a040. Consider uploading reports for the commit f39a040 to get more accurate results
@@ Coverage Diff @@
## alpha #1438 +/- ##
========================================
Coverage ? 99.94%
========================================
Files ? 61
Lines ? 5949
Branches ? 1354
========================================
Hits ? 5946
Misses ? 3
Partials ? 0
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update d084ac9...f39a040. Read the comment docs.