sendinblue / APIv3-typescript-library

SendinBlue's API v3 client
40 stars 19 forks source link

Throwing errors #60

Closed gitdast closed 1 year ago

gitdast commented 1 year ago

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.

aayush-sib commented 1 year ago

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!