Skip to main content

Interface: ErrorCatalogInterface

Defined in: shared/utils/errorCatalog.ts:306

Interface for the error catalog structure.

Propertiesโ€‹

databaseโ€‹

readonly database: { 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โ€‹

readonly BACKUP_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โ€‹

readonly CONNECTION_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โ€‹

readonly CONSTRAINT_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โ€‹

readonly DATABASE_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โ€‹

readonly DUPLICATE_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โ€‹

readonly IMPORT_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โ€‹

readonly MIGRATION_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โ€‹

readonly QUERY_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โ€‹

readonly RECORD_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โ€‹

readonly RESTORE_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โ€‹

readonly TRANSACTION_FAILED: "Database transaction failed" = "Database transaction failed"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when transaction fails


ipcโ€‹

readonly ipc: { 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โ€‹

readonly INVALID_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โ€‹

readonly IPC_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โ€‹

readonly VALIDATION_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โ€‹

readonly monitors: { 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โ€‹

readonly CANNOT_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โ€‹

readonly CONFIGURATION_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โ€‹

readonly FAILED_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โ€‹

readonly FAILED_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โ€‹

readonly FAILED_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โ€‹

readonly FAILED_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โ€‹

readonly INVALID_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โ€‹

readonly INVALID_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โ€‹

readonly INVALID_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โ€‹

readonly INVALID_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โ€‹

readonly NOT_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โ€‹

readonly TYPE_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โ€‹

readonly network: { 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โ€‹

readonly AUTHENTICATION_FAILED: "Authentication failed" = "Authentication failed"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authentication fails

AUTHORIZATION_FAILEDโ€‹

readonly AUTHORIZATION_FAILED: "Authorization failed" = "Authorization failed"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authorization fails

BAD_REQUESTโ€‹

readonly BAD_REQUEST: "Bad request" = "Bad request"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when request is malformed

CONNECTION_FAILEDโ€‹

readonly CONNECTION_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โ€‹

readonly CONNECTION_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โ€‹

readonly DNS_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โ€‹

readonly HOST_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โ€‹

readonly RESOURCE_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โ€‹

readonly SERVER_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โ€‹

readonly SSL_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โ€‹

readonly sites: { 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โ€‹

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


systemโ€‹

readonly system: { 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โ€‹

readonly ACCESS_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โ€‹

readonly CLEANUP_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โ€‹

readonly CONFIGURATION_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โ€‹

readonly INITIALIZATION_FAILED: "Initialization failed" = "Initialization failed"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when initialization fails

INTERNAL_ERRORโ€‹

readonly INTERNAL_ERROR: "An internal error occurred" = "An internal error occurred"

Generic internal server error

OPERATION_FAILED_NO_FALLBACKโ€‹

readonly OPERATION_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โ€‹

readonly OPERATION_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โ€‹

readonly OPERATION_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โ€‹

readonly SERVICE_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โ€‹

readonly validation: { 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โ€‹

readonly EMAIL_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โ€‹

readonly FIELD_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โ€‹

readonly FIELD_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โ€‹

readonly HOST_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โ€‹

readonly PORT_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โ€‹

readonly STRING_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โ€‹

readonly STRING_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โ€‹

readonly URL_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โ€‹

readonly VALIDATION_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โ€‹

readonly VALUE_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