Skip to content

Commit

Permalink
feat(JSONErrorCodes): add 160002 (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Sep 7, 2021
1 parent d590caf commit 8b49887
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
Expand Up @@ -182,6 +182,8 @@ export enum RESTJSONErrorCodes {

TheStageIsAlreadyOpen = 150006,

CannotReplyWithoutPermissionToReadMessageHistory = 160002,

ThreadAlreadyCreatedForMessage = 160004,
ThreadLocked,
MaximumActiveThreads,
Expand Down
2 changes: 2 additions & 0 deletions rest/common.ts
Expand Up @@ -182,6 +182,8 @@ export const enum RESTJSONErrorCodes {

TheStageIsAlreadyOpen = 150006,

CannotReplyWithoutPermissionToReadMessageHistory = 160002,

ThreadAlreadyCreatedForMessage = 160004,
ThreadLocked,
MaximumActiveThreads,
Expand Down

0 comments on commit 8b49887

Please sign in to comment.