> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CartError"
description: "Represents cart-level errors."
---

## Fields

***

<ParamField path="message" type="String!" required>
  The message provides more information regarding the error related to the cart.
</ParamField>

<ParamField path="code" type={<a href="/api-reference/carterrorcode">CartErrorCode!</a>} required>
  The error code for the cart error.
</ParamField>

## Related types

* [`CartResponse`](/api-reference/cartresponse)


---

*Powered by [holocron.so](https://holocron.so)*
