Document all possible errors for each endpoint #36080
Unanswered
Jonny1987
asked this question in
Feature Requests
Replies: 3 comments
|
Thanks for opening this. To clarify and refine this request, is it for all APIs under a Project? or specifically for Auth? |
0 replies
|
Look at the docs for flutter (https://supabase.com/docs/reference/dart), I can't see mention of any errors for any section, so I think the answer is: for all APIs. |
0 replies
|
Hi everyone, due to inactivity on this issue I've moved the issue over to discussions/enhancements. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Improve documentation
Describe the problem
The API documentation doesn't mention what errors can be returned by each endpoint. For example, The signIn method can return an AuthException with 400 statusCode and either "Email not confirmed" or "Invalid login credentials" as a message for two different errors, but I only discovered these by testing my code, not from reading the documentation. Maybe there are others which I need to know about too. I need to check for these so I can give an appropriate message to users in their own language, so it's no good just displaying the message that supabase returns.
Describe the improvement
Detail in the documentation which errors are raised by each method in the supabase package.
All reactions