GitHub

MetafieldsSetUserErrorCode

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

Possible error codes that can be returned by MetafieldsSetUserError.

enum MetafieldsSetUserErrorCode {
  Blank = MetafieldsSetUserErrorCode.Blank,
  Inclusion = MetafieldsSetUserErrorCode.Inclusion,
  InvalidOwner = MetafieldsSetUserErrorCode.InvalidOwner,
  InvalidType = MetafieldsSetUserErrorCode.InvalidType,
  InvalidValue = MetafieldsSetUserErrorCode.InvalidValue,
  LessThanOrEqualTo = MetafieldsSetUserErrorCode.LessThanOrEqualTo,
  Present = MetafieldsSetUserErrorCode.Present,
  TooLong = MetafieldsSetUserErrorCode.TooLong,
  TooShort = MetafieldsSetUserErrorCode.TooShort,
}

Properties

Blank
MetafieldsSetUserErrorCode.Blank

The input value is blank.

Inclusion
MetafieldsSetUserErrorCode.Inclusion

The input value isn't included in the list.

InvalidOwner
MetafieldsSetUserErrorCode.InvalidOwner

The owner ID is invalid.

InvalidType
MetafieldsSetUserErrorCode.InvalidType

The type is invalid.

InvalidValue
MetafieldsSetUserErrorCode.InvalidValue

The value is invalid for metafield type or for definition options.

LessThanOrEqualTo
MetafieldsSetUserErrorCode.LessThanOrEqualTo

The input value should be less than or equal to the maximum value allowed.

Present
MetafieldsSetUserErrorCode.Present

The input value needs to be blank.

TooLong
MetafieldsSetUserErrorCode.TooLong

The input value is too long.

TooShort
MetafieldsSetUserErrorCode.TooShort

The input value is too short.