This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,32 @@
--[[
Enumeration of all possible error states
]]
local createEnum = require(script.Parent.createEnum)
local PurchaseError = createEnum("PurchaseError", {
-- Pre-purchase network failures
"CannotGetBalance",
"CannotGetItemPrice",
-- Item unvailable
"NotForSale",
"AlreadyOwn",
"Under13",
"Limited",
"Guest",
"ThirdPartyDisabled",
"NotEnoughRobux",
"NotEnoughRobuxXbox",
-- Upsell
"BuildersClubLevelTooLow",
-- Network-reported failures
"UnknownFailure",
"UnknownFailureNoItemName",
"PurchaseDisabled",
"InvalidFunds",
"BuildersClubUpsellFailure",
})
return PurchaseError