
Is this a good way to handle appwrite errors in nextjs server action ??

Instead of checking for status codes, I would utilize Appwrites error types to create better messages that are tailored to Appwrites exceptions.
https://appwrite.io/docs/advanced/platform/error-handling#common-error-types-and-suggested-messages
https://appwrite.io/docs/advanced/platform/response-codes#platform-errors

So for sign-up, sign-in i have to impliment all error types in a switch case??
Recommended threads
- Appwrite custom domain verification fail...
So I've left enough time for the records to propagate and I've tried adding in a subdomain for the appwrite endpoint so as not to cause a clash with two CNAME r...
- Error: Invalid `userId` param: Parameter...
- Offline replication with RXDB
Hey there! Trying out apprwrite with rxdb for an offline focussed application. I cannot seem to find on how to set the permissions on a per document level?
