CustomerErrorCode

Possible error codes that could be returned by a customer mutation.

Show definition

"""
Possible error codes that could be returned by a customer mutation.
"""
enum CustomerErrorCode {
  """
  Customer already enabled.
  """
  ALREADY_ENABLED
  """
  Input value is blank.
  """
  BLANK
  """
  Input contains HTML tags.
  """
  CONTAINS_HTML_TAGS
  """
  Input contains URL.
  """
  CONTAINS_URL
  """
  Customer is disabled.
  """
  CUSTOMER_DISABLED
  """
  Input value is invalid.
  """
  INVALID
  """
  Address does not exist.
  """
  NOT_FOUND
  """
  Input password starts or ends with whitespace.
  """
  PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE
  """
  Input value is already taken.
  """
  TAKEN
  """
  Invalid activation token.
  """
  TOKEN_INVALID
  """
  Input value is too long.
  """
  TOO_LONG
  """
  Input value is too short.
  """
  TOO_SHORT
  """
  Unidentified customer.
  """
  UNIDENTIFIED_CUSTOMER
}

Values

UNIDENTIFIED_CUSTOMER

Unidentified customer.

BLANK

Input value is blank.

CONTAINS_HTML_TAGS

Input contains HTML tags.

CONTAINS_URL

Input contains URL.

CUSTOMER_DISABLED

Customer is disabled.

INVALID

Input value is invalid.

NOT_FOUND

Address does not exist.

PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE

Input password starts or ends with whitespace.

TAKEN

Input value is already taken.

TOKEN_INVALID

Invalid activation token.

TOO_LONG

Input value is too long.

TOO_SHORT

Input value is too short.

ALREADY_ENABLED

Customer already enabled.

Sign up for a Partner account to get started.

Sign up