@aurigma/axios-storefront-api-client 2.58.1 → 2.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6038,10 +6038,7 @@ class ApiException extends Error {
|
|
|
6038
6038
|
}
|
|
6039
6039
|
exports.ApiException = ApiException;
|
|
6040
6040
|
function throwException(message, status, response, headers, result) {
|
|
6041
|
-
|
|
6042
|
-
throw result;
|
|
6043
|
-
else
|
|
6044
|
-
throw new ApiException(message, status, response, headers, null);
|
|
6041
|
+
throw new ApiException(message, status, response, headers, result);
|
|
6045
6042
|
}
|
|
6046
6043
|
function isAxiosError(obj) {
|
|
6047
6044
|
return obj && obj.isAxiosError === true;
|