GitHub

ShopifyCheckoutUserError

interface

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

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

interface ShopifyCheckoutUserError {
  __typename: "CheckoutUserError"
  code: ShopifyCheckoutErrorCode
  field: string[]
  message: string
}

Properties

__typename
"CheckoutUserError"
code
ShopifyCheckoutErrorCode

The error code.

field
string[]

The path to the input field that caused the error.

message
string

The error message.