Variable: SITE_ERRORS
const SITE_ERRORS: {
ALREADY_EXISTS: "Site with this identifier already exists";
FAILED_TO_ADD: "Failed to add site";
FAILED_TO_CHECK: "Failed to check site";
FAILED_TO_DELETE: "Failed to delete site";
FAILED_TO_UPDATE: "Failed to update site";
INVALID_IDENTIFIER: "Site identifier is invalid or missing";
INVALID_NAME: "Site name is invalid or missing";
NOT_FOUND: "Site not found";
};
Defined in: shared/utils/errorCatalog.ts:47
Site-related error messages.
Type Declarationโ
ALREADY_EXISTSโ
readonly ALREADY_EXISTS: "Site with this identifier already exists" = "Site with this identifier already exists";
Error when site already exists with the same identifier
FAILED_TO_ADDโ
readonly FAILED_TO_ADD: "Failed to add site" = "Failed to add site";
Error when attempting to add a site fails
FAILED_TO_CHECKโ
readonly FAILED_TO_CHECK: "Failed to check site" = "Failed to check site";
Error when site configuration check fails
FAILED_TO_DELETEโ
readonly FAILED_TO_DELETE: "Failed to delete site" = "Failed to delete site";
Error when attempting to delete a site fails
FAILED_TO_UPDATEโ
readonly FAILED_TO_UPDATE: "Failed to update site" = "Failed to update site";
Error when attempting to update a site fails
INVALID_IDENTIFIERโ
readonly INVALID_IDENTIFIER: "Site identifier is invalid or missing" = "Site identifier is invalid or missing";
Error when site identifier is invalid or empty
INVALID_NAMEโ
readonly INVALID_NAME: "Site name is invalid or missing" = "Site name is invalid or missing";
Error when site name is invalid or empty
NOT_FOUNDโ
readonly NOT_FOUND: "Site not found" = "Site not found";
Error when a requested site cannot be found
Remarksโ
Error messages for site CRUD operations, configuration management, and site-level monitoring operations.