Interface: ErrorCatalogInterface
Defined in: shared/utils/errorCatalog.ts:306
Interface for the error catalog structure.
Propertiesโ
databaseโ
readonlydatabase: {BACKUP_FAILED:"Backup operation failed";CONNECTION_FAILED:"Database connection failed";CONSTRAINT_VIOLATION:"Data constraint violation";DATABASE_LOCKED:"Database is locked";DUPLICATE_ENTRY:"Duplicate entry detected";IMPORT_DATA_INVALID:"Invalid import data format";MIGRATION_FAILED:"Data migration failed";QUERY_FAILED:"Database query failed";RECORD_NOT_FOUND:"Record not found";RESTORE_FAILED:"Restore operation failed";TRANSACTION_FAILED:"Database transaction failed"; }
Defined in: shared/utils/errorCatalog.ts:307
BACKUP_FAILEDโ
readonlyBACKUP_FAILED:"Backup operation failed"="Backup operation failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when backup operation fails
CONNECTION_FAILEDโ
readonlyCONNECTION_FAILED:"Database connection failed"="Database connection failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when database connection fails
CONSTRAINT_VIOLATIONโ
readonlyCONSTRAINT_VIOLATION:"Data constraint violation"="Data constraint violation"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when data constraint is violated
DATABASE_LOCKEDโ
readonlyDATABASE_LOCKED:"Database is locked"="Database is locked"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when database is locked
DUPLICATE_ENTRYโ
readonlyDUPLICATE_ENTRY:"Duplicate entry detected"="Duplicate entry detected"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when duplicate entry is detected
IMPORT_DATA_INVALIDโ
readonlyIMPORT_DATA_INVALID:"Invalid import data format"="Invalid import data format"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when import data format is invalid
MIGRATION_FAILEDโ
readonlyMIGRATION_FAILED:"Data migration failed"="Data migration failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when data migration fails
QUERY_FAILEDโ
readonlyQUERY_FAILED:"Database query failed"="Database query failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when query execution fails
RECORD_NOT_FOUNDโ
readonlyRECORD_NOT_FOUND:"Record not found"="Record not found"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when record is not found
RESTORE_FAILEDโ
readonlyRESTORE_FAILED:"Restore operation failed"="Restore operation failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when restore operation fails
TRANSACTION_FAILEDโ
readonlyTRANSACTION_FAILED:"Database transaction failed"="Database transaction failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when transaction fails
ipcโ
readonlyipc: {INVALID_RESPONSE_FORMAT:"Invalid IPC response format";IPC_OPERATION_FAILED:"Operation failed";VALIDATION_FAILED:"IPC validation failed"; }
Defined in: shared/utils/errorCatalog.ts:308
INVALID_RESPONSE_FORMATโ
readonlyINVALID_RESPONSE_FORMAT:"Invalid IPC response format"="Invalid IPC response format"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when IPC response format is invalid
IPC_OPERATION_FAILEDโ
readonlyIPC_OPERATION_FAILED:"Operation failed"="Operation failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when IPC operation fails
VALIDATION_FAILEDโ
readonlyVALIDATION_FAILED:"IPC validation failed"="IPC validation failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when IPC validation fails
monitorsโ
readonlymonitors: {CANNOT_REMOVE_LAST:"Cannot remove the last monitor from a site. Use site removal instead.";CONFIGURATION_INVALID:"Monitor configuration is invalid";FAILED_TO_ADD:"Failed to add monitor";FAILED_TO_REMOVE:"Failed to remove monitor";FAILED_TO_UPDATE:"Failed to update monitor";FAILED_TO_UPDATE_INTERVAL:"Failed to update check interval";INVALID_ID:"Monitor ID is invalid or missing";INVALID_INTERVAL:"Check interval must be a positive number";INVALID_RETRY_ATTEMPTS:"Retry attempts must be a non-negative number";INVALID_TIMEOUT:"Timeout must be a positive number";NOT_FOUND:"Monitor not found";TYPE_NOT_SUPPORTED:"Monitor type is not supported"; }
Defined in: shared/utils/errorCatalog.ts:309
CANNOT_REMOVE_LASTโ
readonlyCANNOT_REMOVE_LAST:"Cannot remove the last monitor from a site. Use site removal instead."="Cannot remove the last monitor from a site. Use site removal instead."
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when trying to remove the last monitor from a site
CONFIGURATION_INVALIDโ
readonlyCONFIGURATION_INVALID:"Monitor configuration is invalid"="Monitor configuration is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when monitor configuration is invalid
FAILED_TO_ADDโ
readonlyFAILED_TO_ADD:"Failed to add monitor"="Failed to add monitor"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when attempting to add a monitor fails
FAILED_TO_REMOVEโ
readonlyFAILED_TO_REMOVE:"Failed to remove monitor"="Failed to remove monitor"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when attempting to remove a monitor fails
FAILED_TO_UPDATEโ
readonlyFAILED_TO_UPDATE:"Failed to update monitor"="Failed to update monitor"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when attempting to update a monitor fails
FAILED_TO_UPDATE_INTERVALโ
readonlyFAILED_TO_UPDATE_INTERVAL:"Failed to update check interval"="Failed to update check interval"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when attempting to update check interval fails
INVALID_IDโ
readonlyINVALID_ID:"Monitor ID is invalid or missing"="Monitor ID is invalid or missing"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when monitor ID is invalid or missing
INVALID_INTERVALโ
readonlyINVALID_INTERVAL:"Check interval must be a positive number"="Check interval must be a positive number"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when check interval is invalid
INVALID_RETRY_ATTEMPTSโ
readonlyINVALID_RETRY_ATTEMPTS:"Retry attempts must be a non-negative number"="Retry attempts must be a non-negative number"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when retry attempts value is invalid
INVALID_TIMEOUTโ
readonlyINVALID_TIMEOUT:"Timeout must be a positive number"="Timeout must be a positive number"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when timeout value is invalid
NOT_FOUNDโ
readonlyNOT_FOUND:"Monitor not found"="Monitor not found"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when a requested monitor cannot be found
TYPE_NOT_SUPPORTEDโ
readonlyTYPE_NOT_SUPPORTED:"Monitor type is not supported"="Monitor type is not supported"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when monitor type is not supported
networkโ
readonlynetwork: {AUTHENTICATION_FAILED:"Authentication failed";AUTHORIZATION_FAILED:"Authorization failed";BAD_REQUEST:"Bad request";CONNECTION_FAILED:"Network connection failed";CONNECTION_TIMEOUT:"Connection timed out";DNS_RESOLUTION_FAILED:"DNS resolution failed";HOST_UNREACHABLE:"Host unreachable";RESOURCE_NOT_FOUND:"Resource not found";SERVER_ERROR:"Server error";SSL_CONNECTION_FAILED:"SSL/TLS connection failed"; }
Defined in: shared/utils/errorCatalog.ts:310
AUTHENTICATION_FAILEDโ
readonlyAUTHENTICATION_FAILED:"Authentication failed"="Authentication failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authentication fails
AUTHORIZATION_FAILEDโ
readonlyAUTHORIZATION_FAILED:"Authorization failed"="Authorization failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authorization fails
BAD_REQUESTโ
readonlyBAD_REQUEST:"Bad request"="Bad request"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when request is malformed
CONNECTION_FAILEDโ
readonlyCONNECTION_FAILED:"Network connection failed"="Network connection failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when network connection fails
CONNECTION_TIMEOUTโ
readonlyCONNECTION_TIMEOUT:"Connection timed out"="Connection timed out"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when connection times out
DNS_RESOLUTION_FAILEDโ
readonlyDNS_RESOLUTION_FAILED:"DNS resolution failed"="DNS resolution failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when DNS resolution fails
HOST_UNREACHABLEโ
readonlyHOST_UNREACHABLE:"Host unreachable"="Host unreachable"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when host cannot be reached
RESOURCE_NOT_FOUNDโ
readonlyRESOURCE_NOT_FOUND:"Resource not found"="Resource not found"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when resource is not found
SERVER_ERRORโ
readonlySERVER_ERROR:"Server error"="Server error"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when server returns error
SSL_CONNECTION_FAILEDโ
readonlySSL_CONNECTION_FAILED:"SSL/TLS connection failed"="SSL/TLS connection failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when SSL/TLS connection fails
sitesโ
readonlysites: {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:311
ALREADY_EXISTSโ
readonlyALREADY_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โ
readonlyFAILED_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โ
readonlyFAILED_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โ
readonlyFAILED_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โ
readonlyFAILED_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โ
readonlyINVALID_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โ
readonlyINVALID_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โ
readonlyNOT_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
systemโ
readonlysystem: {ACCESS_DENIED:"Access denied";CLEANUP_FAILED:"Cleanup operation failed";CONFIGURATION_ERROR:"Configuration error";INITIALIZATION_FAILED:"Initialization failed";INTERNAL_ERROR:"An internal error occurred";OPERATION_FAILED_NO_FALLBACK:"Operation failed and no fallback value provided";OPERATION_NOT_PERMITTED:"Operation not permitted";OPERATION_TIMEOUT:"Operation timed out";SERVICE_UNAVAILABLE:"Service temporarily unavailable"; }
Defined in: shared/utils/errorCatalog.ts:312
ACCESS_DENIEDโ
readonlyACCESS_DENIED:"Access denied"="Access denied"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when resource access is denied
CLEANUP_FAILEDโ
readonlyCLEANUP_FAILED:"Cleanup operation failed"="Cleanup operation failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when cleanup operation fails
CONFIGURATION_ERRORโ
readonlyCONFIGURATION_ERROR:"Configuration error"="Configuration error"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when configuration is missing or invalid
INITIALIZATION_FAILEDโ
readonlyINITIALIZATION_FAILED:"Initialization failed"="Initialization failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when initialization fails
INTERNAL_ERRORโ
readonlyINTERNAL_ERROR:"An internal error occurred"="An internal error occurred"
Generic internal server error
OPERATION_FAILED_NO_FALLBACKโ
readonlyOPERATION_FAILED_NO_FALLBACK:"Operation failed and no fallback value provided"="Operation failed and no fallback value provided"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when operation fails and no fallback value provided
OPERATION_NOT_PERMITTEDโ
readonlyOPERATION_NOT_PERMITTED:"Operation not permitted"="Operation not permitted"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when operation is not permitted
OPERATION_TIMEOUTโ
readonlyOPERATION_TIMEOUT:"Operation timed out"="Operation timed out"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when operation times out
SERVICE_UNAVAILABLEโ
readonlySERVICE_UNAVAILABLE:"Service temporarily unavailable"="Service temporarily unavailable"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when service is unavailable
validationโ
readonlyvalidation: {EMAIL_INVALID:"Email format is invalid";FIELD_INVALID_FORMAT:"Field format is invalid";FIELD_REQUIRED:"This field is required";HOST_INVALID:"Host address is invalid";PORT_INVALID:"Port number must be between 1 and 65535";STRING_TOO_LONG:"Value exceeds maximum length";STRING_TOO_SHORT:"Value is below minimum length";URL_INVALID:"URL format is invalid";VALIDATION_FAILED:"Validation failed";VALUE_OUT_OF_RANGE:"Value is out of allowed range"; }
Defined in: shared/utils/errorCatalog.ts:313
EMAIL_INVALIDโ
readonlyEMAIL_INVALID:"Email format is invalid"="Email format is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when email format is invalid
FIELD_INVALID_FORMATโ
readonlyFIELD_INVALID_FORMAT:"Field format is invalid"="Field format is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when field format is invalid
FIELD_REQUIREDโ
readonlyFIELD_REQUIRED:"This field is required"="This field is required"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when required field is missing
HOST_INVALIDโ
readonlyHOST_INVALID:"Host address is invalid"="Host address is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when host address is invalid
PORT_INVALIDโ
readonlyPORT_INVALID:"Port number must be between 1 and 65535"="Port number must be between 1 and 65535"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when port number is invalid
STRING_TOO_LONGโ
readonlySTRING_TOO_LONG:"Value exceeds maximum length"="Value exceeds maximum length"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when string length exceeds maximum
STRING_TOO_SHORTโ
readonlySTRING_TOO_SHORT:"Value is below minimum length"="Value is below minimum length"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when string length is below minimum
URL_INVALIDโ
readonlyURL_INVALID:"URL format is invalid"="URL format is invalid"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when URL format is invalid
VALIDATION_FAILEDโ
readonlyVALIDATION_FAILED:"Validation failed"="Validation failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when validation fails for an event
VALUE_OUT_OF_RANGEโ
readonlyVALUE_OUT_OF_RANGE:"Value is out of allowed range"="Value is out of allowed range"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when value is out of allowed range