GitHub

ShopifyMetafieldsSetUserError

interface

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

An error that occurs during the execution of MetafieldsSet.

interface ShopifyMetafieldsSetUserError {
  __typename: "MetafieldsSetUserError"
  code: ShopifyMetafieldsSetUserErrorCode
  elementIndex: number
  field: string[]
  message: string
}

Properties

__typename
"MetafieldsSetUserError"
code
ShopifyMetafieldsSetUserErrorCode

The error code.

elementIndex
number

The index of the array element that's causing the error.

field
string[]

The path to the input field that caused the error.

message
string

The error message.