sendinblue/APIv3-typescript-library

Throwing errors

gitdast opened this issue · 1 comments

Please, throw errors when some occur!
Let us can use the standard "catch" flow. Digging the error in e.response.body.message, when e is unknown these days - that's hell.

Hi
Sorry for the inconvenience caused, I can understand this. Currently we can't change much in the SDKs since we create all our SDKs with swagger codegen and they have implemented it in such a way. We will keep this point when we will start writing out custom SDKs.
Thanks!