GitHub

ShopifyCartUserError

interface

import { ShopifyCartUserError } from '@daffodil/driver/shopify'

Represents an error that happens during execution of a cart mutation.

interface ShopifyCartUserError {
  __typename: "CartUserError"
  code: ShopifyCartErrorCode
  field: string[]
  message: string
}

Properties

__typename
"CartUserError"
code
ShopifyCartErrorCode

The error code.

field
string[]

The path to the input field that caused the error.

message
string

The error message.