Currently the throwError static function will return an object and not an error.
|
static throwError(callBack,type,httpStatusCode, errorCode, message, detail?) { |
This makes it problematic in terms of using it in other error management tools like Sentry.

Currently the throwError static function will return an object and not an error.
chargebee-typescript/src/core.ts
Line 174 in d0a0bc6
This makes it problematic in terms of using it in other error management tools like Sentry.