Skip to content

Commit

Permalink
feat(RESTJSONErrorCodes): add 40018, 40019, and 40094 (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx authored Sep 5, 2024
1 parent d3b5187 commit 93e649a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deno/rest/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ export enum RESTJSONErrorCodes {

ConnectionHasBeenRevoked = 40_012,

OnlyConsumableSKUsCanBeConsumed = 40_018,
YouCanOnlyDeleteSandboxEntitlements,

TargetUserIsNotConnectedToVoice = 40_032,
ThisMessageWasAlreadyCrossposted,

Expand All @@ -156,6 +159,8 @@ export enum RESTJSONErrorCodes {

AnEntitlementHasAlreadyBeenGrantedForThisResource = 40_074,

ThisInteractionHasHitTheMaximumNumberOfFollowUpMessages = 40_094,

CloudflareIsBlockingYourRequest = 40_333,

MissingAccess = 50_001,
Expand Down
5 changes: 5 additions & 0 deletions rest/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ export enum RESTJSONErrorCodes {

ConnectionHasBeenRevoked = 40_012,

OnlyConsumableSKUsCanBeConsumed = 40_018,
YouCanOnlyDeleteSandboxEntitlements,

TargetUserIsNotConnectedToVoice = 40_032,
ThisMessageWasAlreadyCrossposted,

Expand All @@ -156,6 +159,8 @@ export enum RESTJSONErrorCodes {

AnEntitlementHasAlreadyBeenGrantedForThisResource = 40_074,

ThisInteractionHasHitTheMaximumNumberOfFollowUpMessages = 40_094,

CloudflareIsBlockingYourRequest = 40_333,

MissingAccess = 50_001,
Expand Down

0 comments on commit 93e649a

Please sign in to comment.