You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
There are two gift code–related errors currently handled in the app:
• GIFT_CODE_USED_UP — triggered when a code has already been claimed the maximum number of times.
• GIFT_CODE_ALREADY_USED — triggered when a user tries to claim the same code again.
Both of these error cases should return a consistent and user-friendly error message to the UI, such as:
Please implement the error message handling accordingly in both cases.