Skip to content

Commit

Permalink
feat(RESTJSONErrorCodes): add 220003 error (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvito7 committed Jun 8, 2022
1 parent 7bef64d commit 20653b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deno/rest/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ export enum RESTJSONErrorCodes {
CannotUpdateAFinishedEvent = 180000,

FailedToCreateStageNeededForStageEvent = 180002,

WebhooksCanOnlyCreateThreadsInForumChannels = 220003,
}

/**
Expand Down
2 changes: 2 additions & 0 deletions rest/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ export enum RESTJSONErrorCodes {
CannotUpdateAFinishedEvent = 180000,

FailedToCreateStageNeededForStageEvent = 180002,

WebhooksCanOnlyCreateThreadsInForumChannels = 220003,
}

/**
Expand Down

0 comments on commit 20653b3

Please sign in to comment.