Skip to content

Commit

Permalink
chore: added missing error codes to BeePluginErrorCodes enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Marchetti committed Nov 28, 2024
1 parent f837b03 commit 09fd063
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/types/bee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export enum BeePluginErrorCodes {
LOCKED_ROW_CLICKED = 1300,
LOCKED_MODULE_CLICKED = 1310,
WORKSPACE_NOT_AVAILABLE = 1002,
FEATURE_NOT_AVAILABLE_FOR_PLAN = 1704,
GENERIC_BUMP_ERROR = 2000,
INVALID_TARGET_VERSION = 2100,
VALIDATION_ERROR_DETAIL = 2200,
Expand All @@ -95,6 +96,8 @@ export enum BeePluginErrorCodes {
TRASFORMATION_ERROR = 2500,
BACKWARD_TRASFORMATION_ERROR = 2600,
SERVICE_ERROR = 3000,
API_GENERIC_ERROR = 9900,
GENERIC_ERROR = 9999,
//File System provider errors
FSP_GENERIC_ERROR = 3001,
FSP_BE_GENERIC_ERROR = 3100,
Expand Down Expand Up @@ -167,6 +170,13 @@ export enum BeePluginErrorCodes {
EXPIRED_TOKEN_MUST_REFRESHED = 5102,
// WEBHOOK ERRORS
WEBHOOK_CALL_FAILED = 5250,
// Frontend API errors
FE_API_GENERIC_ERROR = 7000,
FE_API_INVALID_COMMAND = 7005,
FE_API_INVALID_COMMAND_OPTIONS = 7010,
FE_API_ENTITY_LOCKED = 7020,
FE_API_ENTITY_NOT_FOUND = 7030,
FE_API_ELEMENT_NOT_FOUND = 7040,
}

export type BeePluginError = {
Expand Down

0 comments on commit 09fd063

Please sign in to comment.