weaviate / typescript-client

Official Weaviate TypeScript Client
https://www.npmjs.com/package/weaviate-client
BSD 3-Clause "New" or "Revised" License
57 stars 21 forks source link

Please provide error codes to properly proccess different errors #101

Open adanielyan opened 7 months ago

adanielyan commented 7 months ago

According to documentation there are different types of errors that API may returns. To properly process the errors (e.g. 404) it is essential to have the error codes in addition to error messages. Will it be possible to add error codes to the Error object?