# CartUserError - storefront - OBJECT Version: 2024-10 ## Description Represents an error that happens during execution of a cart mutation. ### Access Scopes ## Fields * [code](/docs/api/storefront/2024-10/enums/CartErrorCode): CartErrorCode - The error code. * [field](/docs/api/storefront/2024-10/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/storefront/2024-10/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [cartAttributesUpdate](/docs/api/storefront/2024-10/mutations/cartAttributesUpdate) Updates the attributes on a cart. * [cartBuyerIdentityUpdate](/docs/api/storefront/2024-10/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/2024-10/mutations/cartCreate) Creates a new cart. * [cartDiscountCodesUpdate](/docs/api/storefront/2024-10/mutations/cartDiscountCodesUpdate) Updates the discount codes applied to the cart. * [cartGiftCardCodesUpdate](/docs/api/storefront/2024-10/mutations/cartGiftCardCodesUpdate) Updates the gift card codes applied to the cart. * [cartLinesAdd](/docs/api/storefront/2024-10/mutations/cartLinesAdd) Adds a merchandise line to the cart. * [cartLinesRemove](/docs/api/storefront/2024-10/mutations/cartLinesRemove) Removes one or more merchandise lines from the cart. * [cartLinesUpdate](/docs/api/storefront/2024-10/mutations/cartLinesUpdate) Updates one or more merchandise lines on a cart. * [cartNoteUpdate](/docs/api/storefront/2024-10/mutations/cartNoteUpdate) Updates the note on the cart. * [cartSelectedDeliveryOptionsUpdate](/docs/api/storefront/2024-10/mutations/cartSelectedDeliveryOptionsUpdate) Update the selected delivery options for a delivery group. ## Related Unions ## Examples