GitHub

ShopifyMetafieldsSetUserErrorCode

enum

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

Possible error codes that can be returned by MetafieldsSetUserError.

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

Properties

Blank
ShopifyMetafieldsSetUserErrorCode.Blank

The input value is blank.

Inclusion
ShopifyMetafieldsSetUserErrorCode.Inclusion

The input value isn't included in the list.

InvalidOwner
ShopifyMetafieldsSetUserErrorCode.InvalidOwner

The owner ID is invalid.

InvalidType
ShopifyMetafieldsSetUserErrorCode.InvalidType

The type is invalid.

InvalidValue
ShopifyMetafieldsSetUserErrorCode.InvalidValue

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

LessThanOrEqualTo
ShopifyMetafieldsSetUserErrorCode.LessThanOrEqualTo

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

Present
ShopifyMetafieldsSetUserErrorCode.Present

The input value needs to be blank.

TooLong
ShopifyMetafieldsSetUserErrorCode.TooLong

The input value is too long.

TooShort
ShopifyMetafieldsSetUserErrorCode.TooShort

The input value is too short.