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:42
Site-related error messages.
Type Declarationโ
ALREADY_EXISTSโ
readonly
ALREADY_EXISTS:"Site with this identifier already exists"
="Site with this identifier already exists"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when site already exists with the same identifier
FAILED_TO_ADDโ
readonly
FAILED_TO_ADD:"Failed to add site"
="Failed to add site"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when attempting to add a site fails
FAILED_TO_CHECKโ
readonly
FAILED_TO_CHECK:"Failed to check site"
="Failed to check site"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when site configuration check fails
FAILED_TO_DELETEโ
readonly
FAILED_TO_DELETE:"Failed to delete site"
="Failed to delete site"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when attempting to delete a site fails
FAILED_TO_UPDATEโ
readonly
FAILED_TO_UPDATE:"Failed to update site"
="Failed to update site"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/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"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/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"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when site name is invalid or empty
NOT_FOUNDโ
readonly
NOT_FOUND:"Site not found"
="Site not found"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when a requested site cannot be found
Remarksโ
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error messages for site CRUD operations, configuration management, and site-level monitoring operations.