GitHub

ShopifyCustomerErrorCode

enum

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

Possible error codes that can be returned by CustomerUserError.

enum ShopifyCustomerErrorCode {
  AlreadyEnabled = ShopifyCustomerErrorCode.AlreadyEnabled,
  BadDomain = ShopifyCustomerErrorCode.BadDomain,
  Blank = ShopifyCustomerErrorCode.Blank,
  ContainsHtmlTags = ShopifyCustomerErrorCode.ContainsHtmlTags,
  ContainsUrl = ShopifyCustomerErrorCode.ContainsUrl,
  CustomerDisabled = ShopifyCustomerErrorCode.CustomerDisabled,
  Invalid = ShopifyCustomerErrorCode.Invalid,
  InvalidMultipassRequest = ShopifyCustomerErrorCode.InvalidMultipassRequest,
  NotFound = ShopifyCustomerErrorCode.NotFound,
  PasswordStartsOrEndsWithWhitespace = ShopifyCustomerErrorCode.PasswordStartsOrEndsWithWhitespace,
  Taken = ShopifyCustomerErrorCode.Taken,
  TokenInvalid = ShopifyCustomerErrorCode.TokenInvalid,
  TooLong = ShopifyCustomerErrorCode.TooLong,
  TooShort = ShopifyCustomerErrorCode.TooShort,
  UnidentifiedCustomer = ShopifyCustomerErrorCode.UnidentifiedCustomer,
}

Properties

AlreadyEnabled
ShopifyCustomerErrorCode.AlreadyEnabled

Customer already enabled.

BadDomain
ShopifyCustomerErrorCode.BadDomain

Input email contains an invalid domain name.

Blank
ShopifyCustomerErrorCode.Blank

The input value is blank.

ContainsHtmlTags
ShopifyCustomerErrorCode.ContainsHtmlTags

Input contains HTML tags.

ContainsUrl
ShopifyCustomerErrorCode.ContainsUrl

Input contains URL.

CustomerDisabled
ShopifyCustomerErrorCode.CustomerDisabled

Customer is disabled.

Invalid
ShopifyCustomerErrorCode.Invalid

The input value is invalid.

InvalidMultipassRequest
ShopifyCustomerErrorCode.InvalidMultipassRequest

Multipass token is not valid.

NotFound
ShopifyCustomerErrorCode.NotFound

Address does not exist.

PasswordStartsOrEndsWithWhitespace
ShopifyCustomerErrorCode.PasswordStartsOrEndsWithWhitespace

Input password starts or ends with whitespace.

Taken
ShopifyCustomerErrorCode.Taken

The input value is already taken.

TokenInvalid
ShopifyCustomerErrorCode.TokenInvalid

Invalid activation token.

TooLong
ShopifyCustomerErrorCode.TooLong

The input value is too long.

TooShort
ShopifyCustomerErrorCode.TooShort

The input value is too short.

UnidentifiedCustomer
ShopifyCustomerErrorCode.UnidentifiedCustomer

Unidentified customer.