how to change the message displayed on the frontend when appwrite exception occurs
- 0
- Android
- Flutter
- Apple
- Self Hosted
i want to change the message which comes on my forntend when it no internet is available right now it shows an appwrite exception but i want it to show "connect to the net" how to implement this??
For that you'll need to override the errors. Meaning check the error string and returned value in your code and display the error you like in the frontend for the end-user
it's probably best check the error type when it's available and return your own error message basedo n the type. For more info, see https://appwrite.io/docs/response-codes#errorTypes
Recommended threads
- Trying to connect a site to an existing ...
I am trying to connect a repo, it looks like it fires off a network request, but does not appear to finish or even fail trying to.
- flutter realtime not working since versi...
I have the problem, that in flutter the realtime does not work anymore when I upgrade the sdk to verison 21.0.0+ (works with 20.3.3) I think the queries are not...
- Getting this error when creating a websi...
when I visit the site I get 404, even if the deployment is successfull