Skip to content

Commit

Permalink
Merge pull request #245 from richzw/master
Browse files Browse the repository at this point in the history
feat(appstore): add more error codes to appstore server api
  • Loading branch information
takecy authored Oct 25, 2023
2 parents 8fd11ce + 4a322d6 commit de73450
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions appstore/api/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,16 @@ var (
StartDateAfterEndDateError = newError(4000013, "Invalid request. The end date precedes the start date or the dates are the same.")
StartDateTooFarInPastError = newError(4000012, "Invalid request. The start date is earlier than the allowed start date.")
TestNotificationNotFoundError = newError(4040008, "Either the test notification token is expired or the notification and status are not yet available.")
InvalidAccountTenureError = newError(4000032, "Invalid request. The account tenure field is invalid.")
InvalidAppAccountTokenError = newError(4000033, "Invalid request. The app account token field must contain a valid UUID or an empty string.")
InvalidConsumptionStatusError = newError(4000034, "Invalid request. The consumption status field is invalid.")
InvalidCustomerConsentedError = newError(4000035, "Invalid request. The customer consented field is required and must indicate the customer consented")
InvalidDeliveryStatusError = newError(4000036, "Invalid request. The delivery status field is invalid")
InvalidLifetimeDollarsPurchasedError = newError(4000037, "Invalid request. The lifetime dollars purchased field is invalid")
InvalidLifetimeDollarsRefundedError = newError(4000038, "Invalid request. The lifetime dollars refunded field is invalid")
InvalidPlatformError = newError(4000039, "Invalid request. The platform field is invalid")
InvalidPlayTimeError = newError(4000040, "Invalid request. The playtime field is invalid")
InvalidSampleContentProvidedError = newError(4000041, "Invalid request. The sample content provided field is invalid")
InvalidUserStatusError = newError(4000042, "Invalid request. The user status field is invalid")
InvalidTransactionNotConsumableError = newError(4000043, "Invalid request. The transaction id parameter must represent a consumable in-app purchase")
)

0 comments on commit de73450

Please sign in to comment.