no message
This commit is contained in:
parent
b9cf577012
commit
d3318fd86b
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue