Skip to content

Commit

Permalink
feat: Add API error code 50109 (#268)
Browse files Browse the repository at this point in the history
* feat: add API error

* refactor: elongate error name
  • Loading branch information
Jiralite committed Dec 23, 2021
1 parent 8bbb819 commit bfc5e46
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 @@ -177,6 +177,8 @@ export enum RESTJSONErrorCodes {

ServerNeedsMoreBoostsToPerformThisAction = 50101,

RequestBodyContainsInvalidJSON = 50109,

TwoFactorAuthenticationIsRequired = 60003,

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

ServerNeedsMoreBoostsToPerformThisAction = 50101,

RequestBodyContainsInvalidJSON = 50109,

TwoFactorAuthenticationIsRequired = 60003,

NoUsersWithDiscordTagExist = 80004,
Expand Down

0 comments on commit bfc5e46

Please sign in to comment.