Optional
data: anyOptional
status: numberOptional
causeOptional
Readonly
dataThe data passed in to the error class. This could be anything, but is most likely to be the response from a commercetools request.
Readonly
isConvenience mechanism for identifying that the error that's just been caught is a CommercetoolsError.
Optional
stackReadonly
statusIf available, this is the status code of the request received back from commercetools: https://docs.commercetools.com/api/errors
Static
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
captureStatic
fromUtility for converting an AxiosError in to a CommercetoolsError.
Static
isStatic
parse
The error class thrown by any of the utility classes.