Anchor to GiftCardErrorCodeGift
enumGift Card Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- CUSTOMER_NOT_FOUND
- GIFT_CARD_LIMIT_EXCEEDED
- GREATER_THAN
- INTERNAL_ERROR
- INVALID
- MISSING_ARGUMENT
- RECIPIENT_NOT_FOUND
- TAKEN
- TOO_LONG
- TOO_SHORT
- Anchor to CUSTOMER_NOT_FOUNDCUSTOMER_
NOT_ FOUND The customer could not be found.
- Anchor to GIFT_CARD_LIMIT_EXCEEDEDGIFT_
CARD_ LIMIT_ EXCEEDED The gift card's value exceeds the allowed limits.
- Anchor to GREATER_THANGREATER_
THAN The input value should be greater than the minimum allowed value.
- Anchor to INTERNAL_ERRORINTERNAL_
ERROR Unexpected internal error happened.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to MISSING_ARGUMENTMISSING_
ARGUMENT Missing a required argument.
- Anchor to RECIPIENT_NOT_FOUNDRECIPIENT_
NOT_ FOUND The recipient could not be found.
- Anchor to TAKENTAKEN
The input value is already taken.
- Anchor to TOO_LONGTOO_
LONG The input value is too long.
- Anchor to TOO_SHORTTOO_
SHORT The input value is too short.
Was this section helpful?
Anchor to FieldsFields
- •OBJECT
Represents an error that happens during the execution of a gift card mutation.
Was this section helpful?