zombikaaOriginal post
Rank 3: Container
Hi! Is there a way that i can somehow get an error code next to appwriteException errors? Right now i get errors like this: Error: AppwriteException: Creation of a session is prohibited when a session is active.
There is no code attached to that.
Summary
Developers can catch errors and throw new error text. You can add a text before each error log to identify where the error is coming from. To get an error code with AppwriteException errors, modify the code to include error codes along with the error messages.