
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
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
