CartNotFoundError
●cart · /core·class
Thrown by adapters when a cart id is resolvable in the request but no cart exists upstream — distinct from a transport failure.
Signature
Example
const cart = carts.get(cartId);
if (!cart) throw new CartNotFoundError(cartId);Related
RunCartAdapterContractOpts runCartAdapterContract CartCapabilityUnsupportedError CartError CartProviderError CartUserError CartAdapter CartEventBus
MetadataOpen in GitHub ↗
CartMutation
Discriminated union of every operation the kernel can route to an adapter. Pass to ; the kernel dispatches on kind to the corresponding adapter method, guarded
CartProviderError
Thrown for transport / upstreamAPI failures (network, 5xx, malformed payloads). Retry middleware treats this as retryable.