Back

Possible errors

  • 0
  • General
Mr. Bakbuki
27 Sep, 2023, 18:44

Is there a way I can find out all the possible errors that I can get from a certain endpoint? I'm aware of this page https://appwrite.io/docs/response-codes and I'm just wondering if there is a better way to get all the errors for something. So for example if I want to tell the user what went wrong when they tried to sign up, do I have to go over the whole list and find the possible errors? Because 90% of them are not even relevant.

TL;DR
The user is looking for a way to find all the possible errors they can get from a specific endpoint. They are aware of a documentation page that lists response codes but want to know if there is a better way to get all the errors. They specifically mention wanting to provide relevant errors when a user signs up instead of going through the entire list.
Drake
27 Sep, 2023, 20:25

You can look at the user related types. Of course you can look at the source code too since it's public

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more