There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in practice, it is actually an object, as evidenced by the following logged output:
{
name: 'AppwriteException',
code: 404,
type: 'document_not_found',
response: {
message: 'Document with the requested ID could not be found.',
code: 404,
type: 'document_not_found',
version: '1.6.1',
},
}
This mismatch between the type definition and the actual runtime behavior can lead to type-related issues in TypeScript projects.
Recommended threads
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...