CartCapabilityUnsupportedError

cart · /core·class

Thrown by the kernel when a mutation requires a capability the active adapter doesn't advertise (e.g. gift cards on a provider without them).

Signature

Example

if (!caps.giftCards) throw new CartCapabilityUnsupportedError('giftCards');

RunCartAdapterContractOpts runCartAdapterContract CartError CartNotFoundError CartProviderError CartUserError CartAdapter CartEventBus

Sourceerrors.ts:137Edit the JSDoc directly

On this page