Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error handling #3

Closed
jcurbelo opened this issue Jan 28, 2022 · 0 comments · Fixed by #6
Closed

Better error handling #3

jcurbelo opened this issue Jan 28, 2022 · 0 comments · Fixed by #6
Assignees
Labels
enhancement New feature or request

Comments

@jcurbelo
Copy link
Collaborator

Need to make sure that messages are human friendly, we can create our own mappings from Metamask errors

Comon Errors/Messages WIP

  • Metamask extension is not installed
  • Collection is not started
  • User doesn't belong to whitelist (presale)
  • User doesn't have enough balance
  • User is not connected to the proper network (mainnet)
  • User exceeded the maxPerWallet amount
    • We can limit the UX to avoid this one

Future Steps

Would be nice if the SDK also shows a toaster/snackbark with these errors, this will be noted on a different issue

@jcurbelo jcurbelo added the enhancement New feature or request label Jan 28, 2022
@jcurbelo jcurbelo self-assigned this Jan 28, 2022
This was referenced Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant