# CartUserError - storefront - OBJECT Version: unstable ## Description Represents an error that happens during execution of a cart mutation. ### Access Scopes ## Fields * [code](/docs/api/storefront/unstable/enums/CartErrorCode): CartErrorCode - The error code. * [field](/docs/api/storefront/unstable/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/storefront/unstable/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [cartAttributesUpdate](/docs/api/storefront/unstable/mutations/cartAttributesUpdate) Updates the attributes on a cart. * [cartBuyerIdentityUpdate](/docs/api/storefront/unstable/mutations/cartBuyerIdentityUpdate) Updates customer information associated with a cart. Buyer identity is used to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing) and should match the customer's shipping address. * [cartCreate](/docs/api/storefront/unstable/mutations/cartCreate) Creates a new cart. * [cartDeliveryAddressesAdd](/docs/api/storefront/unstable/mutations/cartDeliveryAddressesAdd) Adds delivery addresses to the cart. * [cartDeliveryAddressesRemove](/docs/api/storefront/unstable/mutations/cartDeliveryAddressesRemove) Removes delivery addresses from the cart. * [cartDeliveryAddressesUpdate](/docs/api/storefront/unstable/mutations/cartDeliveryAddressesUpdate) Updates one or more delivery addresses on a cart. * [cartDiscountCodesUpdate](/docs/api/storefront/unstable/mutations/cartDiscountCodesUpdate) Updates the discount codes applied to the cart. * [cartGiftCardCodesRemove](/docs/api/storefront/unstable/mutations/cartGiftCardCodesRemove) Removes the gift card codes applied to the cart. * [cartGiftCardCodesUpdate](/docs/api/storefront/unstable/mutations/cartGiftCardCodesUpdate) Updates the gift card codes applied to the cart. * [cartLinesAdd](/docs/api/storefront/unstable/mutations/cartLinesAdd) Adds a merchandise line to the cart. * [cartLinesRemove](/docs/api/storefront/unstable/mutations/cartLinesRemove) Removes one or more merchandise lines from the cart. * [cartLinesUpdate](/docs/api/storefront/unstable/mutations/cartLinesUpdate) Updates one or more merchandise lines on a cart. * [cartNoteUpdate](/docs/api/storefront/unstable/mutations/cartNoteUpdate) Updates the note on the cart. * [cartRemovePersonalData](/docs/api/storefront/unstable/mutations/cartRemovePersonalData) Removes personal identifiable information from the cart. * [cartSelectedDeliveryOptionsUpdate](/docs/api/storefront/unstable/mutations/cartSelectedDeliveryOptionsUpdate) Update the selected delivery options for a delivery group. ## Related Unions ## Examples