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

[Code Review] #73

Open
jijip41 opened this issue Mar 14, 2023 · 0 comments
Open

[Code Review] #73

jijip41 opened this issue Mar 14, 2023 · 0 comments

Comments

@jijip41
Copy link

jijip41 commented Mar 14, 2023

Well done 🎉
The files structure is well organised and really great use of supabase api!
I also spotted that you handled the errors - very impressive the way you handled the errors with try, catch and finally.
It would be even better if we can send some meaningful error messages when we handle them in some places.
e.g.
throw new Error('User not exist')
It's a good way of informing other developers for example, when they use apis you created.
In some cases we also could render error page for better UX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant