
Hi, how to change the exception message according to the user locale? Or if that is not possible how to uniquely identify which exception is which so that it can be handled specifically.
For example if the authentication is failed. I want to display custom error message instead of the default "Invalid credentials. Please check the email and password."
AppwriteException: Invalid credentials. Please check the email and password. at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=30fb1690:850:17) at Generator.next (<anonymous>) at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=30fb1690:488:24)
And in some other scenario like changing the user email where the password is required, if incorrect password provided instead of showing " Invalid credentials. Please check the email and password." message I want to show custom error message to explain to the user why the action is failing.
Thanks.
Recommended threads
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
- [bug] API response is good but UI don't ...
Hi guys! When i got my object, it have billingInfo relation, in the web ui i just got pading state, and the row shows object is null, but when i work whit this...
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
