no message

This commit is contained in:
CITE\amentis 2024-08-05 12:36:27 +03:00
parent b9cf577012
commit d3318fd86b
1 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,8 @@ export enum ResponseErrorCode {
planDescriptionTemplateImportDraft = 155, planDescriptionTemplateImportDraft = 155,
descriptionTemplateTypeImportDraft = 156, descriptionTemplateTypeImportDraft = 156,
planBlueprintImportDraft = 157, planBlueprintImportDraft = 157,
missingTenantRole = 158,
missingGlobalRole = 159,
// Notification & Annotation Errors // Notification & Annotation Errors
InvalidApiKey = 200, InvalidApiKey = 200,
@ -191,6 +193,10 @@ export class ResponseErrorCodeHelper {
return language.instant("GENERAL.BACKEND-ERRORS.DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT"); return language.instant("GENERAL.BACKEND-ERRORS.DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT");
case ResponseErrorCode.planBlueprintImportDraft: case ResponseErrorCode.planBlueprintImportDraft:
return language.instant("GENERAL.BACKEND-ERRORS.PLAN-BLUEPRINT-IMPORT-DRAFT"); return language.instant("GENERAL.BACKEND-ERRORS.PLAN-BLUEPRINT-IMPORT-DRAFT");
case ResponseErrorCode.missingTenantRole:
return language.instant("GENERAL.BACKEND-ERRORS.MISSING-TENANT-ROLE");
case ResponseErrorCode.missingGlobalRole:
return language.instant("GENERAL.BACKEND-ERRORS.MISSING-GLOBAL-ROLE");
default: default:
return language.instant("GENERAL.SNACK-BAR.NOT-FOUND"); return language.instant("GENERAL.SNACK-BAR.NOT-FOUND");