Created
September 29, 2020 00:02
-
-
Save spiritbroski/c75616d54a89e060dff41cec814ad978 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
await props.appwrite.account.create( | |
email, | |
password | |
); | |
props.setCurrentPage(props.currentPage) | |
} catch (err) { | |
setError(err.message)// error message always said the error code like "Unauthorized" for 401,"Too Many Request" for 429 abd so on | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment