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
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...