AnshOriginal post
Rank 2: Process
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??
Summary
To change the message displayed on the frontend when an Appwrite exception occurs, you need to override the errors in your code.
You can check the error type and return your own error message based on the type. For more information on error types, refer to the Appwrite documentation: <https://appwrite.io/docs/response-codes#errorTypes>.
To change the message for "no internet available" to "connect to the net", you will need to check the error string and returned value in your code. Then, display the desired error message on the frontend for the end-user.