
I want to test my application responses is there a way I can generate the errors thrown by appwrite to check how will my app respond

What do you mean?

That should be done client sided

(your app, not Appwrite)

Yeah tere are various types of errors generated by various codes I have written different error messages and handled each code differently is there a way to induce errors yourself so that I can check that all of my flows works are working as required

because appwrite has its own way of sending error messages

I think current there's not any option to customise them

You could check on GitHub if this has been suggested if not, create an issue, it will be appreciated

ok

Can I trigger errors so that I test my flows. Is there a way to manually trigger errors

I think not, maybe replicating what it makes the error being thrown

Oka thanks

Here you have response codes, maybe this could be helpful? https://appwrite.io/docs/response-codes

I already checked this page it defines the code and type but not the message. Like in the example argument_invalid there will be different messages for different invalid arguments. But I cant find that list of message anywhere

In the error types section you have the message: https://appwrite.io/docs/response-codes#errorTypes

The description are the actual messages

Can you give us an example of the errors you want to test?

I have a phone input field where I have put the client side checks for no characters or symbols allowed. I want a server side message for it.
I saw that appwrite servers go down for 10-20 minutes 2-3 times in last month for which I want to show error messages for it. Like the service is down please check again later
When the user is not logged in I want see what is the reason and display messages I wanted to know if server side messages are in line with what I want or I should write my own messages
I also want to check if appwrite function is exceeding time that I have allotted it.
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
