Skip to content

Commit 4db44b5

Browse files
author
codershiba
authored
feat(RESTJSONErrorCodes): Add 500_000 (#908)
1 parent ccb7ef4 commit 4db44b5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

deno/rest/common.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ export enum RESTJSONErrorCodes {
293293

294294
CannotEnableOnboardingRequirementsAreNotMet = 350_000,
295295
CannotUpdateOnboardingWhileBelowRequirements,
296+
297+
FailedToBanUsers = 500_000,
296298
}
297299

298300
/**

rest/common.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ export enum RESTJSONErrorCodes {
293293

294294
CannotEnableOnboardingRequirementsAreNotMet = 350_000,
295295
CannotUpdateOnboardingWhileBelowRequirements,
296+
297+
FailedToBanUsers = 500_000,
296298
}
297299

298300
/**

0 commit comments

Comments
 (0)