Variable: ERROR_LOGS
constERROR_LOGS: {APPLICATION_CLEANUP_ERROR:"[ApplicationService] Error during cleanup";APPLICATION_FORWARD_CACHE_INVALIDATION_ERROR:"[ApplicationService] Failed to forward cache invalidation to renderer";APPLICATION_FORWARD_HISTORY_LIMIT_UPDATED_ERROR:"[ApplicationService] Failed to forward history limit update to renderer";APPLICATION_FORWARD_MANUAL_CHECK_COMPLETED_ERROR:"[ApplicationService] Failed to forward manual monitor check completion to renderer";APPLICATION_FORWARD_MONITOR_DOWN_ERROR:"[ApplicationService] Failed to forward monitor down to renderer";APPLICATION_FORWARD_MONITOR_STATUS_ERROR:"[ApplicationService] Failed to forward monitor status change to renderer";APPLICATION_FORWARD_MONITOR_UP_ERROR:"[ApplicationService] Failed to forward monitor up to renderer";APPLICATION_FORWARD_MONITORING_STARTED_ERROR:"[ApplicationService] Failed to forward monitoring started to renderer";APPLICATION_FORWARD_MONITORING_STOPPED_ERROR:"[ApplicationService] Failed to forward monitoring stopped to renderer";APPLICATION_FORWARD_SITE_ADDED_ERROR:"[ApplicationService] Failed to forward site added to renderer";APPLICATION_FORWARD_SITE_REMOVED_ERROR:"[ApplicationService] Failed to forward site removed to renderer";APPLICATION_FORWARD_SITE_UPDATED_ERROR:"[ApplicationService] Failed to forward site updated to renderer";APPLICATION_FORWARD_STATE_SYNC_ERROR:"[ApplicationService] Failed to forward state sync event to renderer";APPLICATION_INITIALIZATION_ERROR:"[ApplicationService] Error during app initialization";APPLICATION_SYSTEM_ERROR:"[ApplicationService] System error: {context}";APPLICATION_UPDATE_CHECK_ERROR:"[ApplicationService] Failed to check for updates";DATABASE_BACKUP_FAILED:"[DatabaseBackup] Failed to create database backup";DATABASE_INDEXES_FAILED:"[DatabaseSchema] Failed to create indexes";DATABASE_SCHEMA_FAILED:"[DatabaseSchema] Failed to create database schema";DATABASE_TABLES_FAILED:"[DatabaseSchema] Failed to create tables";DATABASE_VALIDATION_SETUP_FAILED:"[DatabaseSchema] Failed to setup monitor type validation";EVENT_BUS_EMISSION_FAILED:"[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]";HISTORY_ADD_FAILED:"[HistoryManipulation] Failed to add history entry for monitor: {monitorId}";HISTORY_BULK_INSERT_FAILED:"[HistoryManipulation] Failed to bulk insert history for monitor: {monitorId}";HISTORY_FETCH_FAILED:"[HistoryQuery] Failed to fetch history for monitor: {monitorId}";HISTORY_LATEST_FETCH_FAILED:"[HistoryQuery] Failed to get latest history entry for monitor: {monitorId}";HISTORY_MAPPER_FAILED:"[HistoryMapper] Failed to map database row to history entry";HISTORY_PRUNE_FAILED:"[HistoryManipulation] Failed to prune history for monitor: {monitorId}";MONITOR_CHECK_ENHANCED_FAILED:"Enhanced monitor check failed for {monitorId}";MONITOR_MAPPER_FAILED:"[MonitorMapper] Failed to build monitor parameters";SETTINGS_MAPPER_FAILED:"[SettingsMapper:rowToSetting] Failed to map database row to setting";SITE_BACKGROUND_LOAD_EMIT_ERROR:"[SiteManager] Failed to emit background load error event";SITE_BACKGROUND_LOAD_FAILED:"[SiteManager] Background site load failed for {identifier}";SITE_HISTORY_LIMIT_FAILED:"[SiteManager] Failed to set history limit";SITE_INITIALIZATION_FAILED:"[SiteManager] Failed to initialize cache";SITE_MAPPER_FAILED:"[SiteMapper] Failed to map database row to site";SITE_MONITOR_REMOVAL_FAILED:"[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}"; }
Defined in: shared/utils/logTemplates.ts:269
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error log templates.
Type Declarationโ
APPLICATION_CLEANUP_ERRORโ
readonlyAPPLICATION_CLEANUP_ERROR:"[ApplicationService] Error during cleanup"="[ApplicationService] Error during cleanup"
Application errors
APPLICATION_FORWARD_CACHE_INVALIDATION_ERRORโ
readonlyAPPLICATION_FORWARD_CACHE_INVALIDATION_ERROR:"[ApplicationService] Failed to forward cache invalidation to renderer"="[ApplicationService] Failed to forward cache invalidation to renderer"
APPLICATION_FORWARD_HISTORY_LIMIT_UPDATED_ERRORโ
readonlyAPPLICATION_FORWARD_HISTORY_LIMIT_UPDATED_ERROR:"[ApplicationService] Failed to forward history limit update to renderer"="[ApplicationService] Failed to forward history limit update to renderer"
APPLICATION_FORWARD_MANUAL_CHECK_COMPLETED_ERRORโ
readonlyAPPLICATION_FORWARD_MANUAL_CHECK_COMPLETED_ERROR:"[ApplicationService] Failed to forward manual monitor check completion to renderer"="[ApplicationService] Failed to forward manual monitor check completion to renderer"
APPLICATION_FORWARD_MONITOR_DOWN_ERRORโ
readonlyAPPLICATION_FORWARD_MONITOR_DOWN_ERROR:"[ApplicationService] Failed to forward monitor down to renderer"="[ApplicationService] Failed to forward monitor down to renderer"
APPLICATION_FORWARD_MONITOR_STATUS_ERRORโ
readonlyAPPLICATION_FORWARD_MONITOR_STATUS_ERROR:"[ApplicationService] Failed to forward monitor status change to renderer"="[ApplicationService] Failed to forward monitor status change to renderer"
APPLICATION_FORWARD_MONITOR_UP_ERRORโ
readonlyAPPLICATION_FORWARD_MONITOR_UP_ERROR:"[ApplicationService] Failed to forward monitor up to renderer"="[ApplicationService] Failed to forward monitor up to renderer"
APPLICATION_FORWARD_MONITORING_STARTED_ERRORโ
readonlyAPPLICATION_FORWARD_MONITORING_STARTED_ERROR:"[ApplicationService] Failed to forward monitoring started to renderer"="[ApplicationService] Failed to forward monitoring started to renderer"
APPLICATION_FORWARD_MONITORING_STOPPED_ERRORโ
readonlyAPPLICATION_FORWARD_MONITORING_STOPPED_ERROR:"[ApplicationService] Failed to forward monitoring stopped to renderer"="[ApplicationService] Failed to forward monitoring stopped to renderer"
APPLICATION_FORWARD_SITE_ADDED_ERRORโ
readonlyAPPLICATION_FORWARD_SITE_ADDED_ERROR:"[ApplicationService] Failed to forward site added to renderer"="[ApplicationService] Failed to forward site added to renderer"
APPLICATION_FORWARD_SITE_REMOVED_ERRORโ
readonlyAPPLICATION_FORWARD_SITE_REMOVED_ERROR:"[ApplicationService] Failed to forward site removed to renderer"="[ApplicationService] Failed to forward site removed to renderer"
APPLICATION_FORWARD_SITE_UPDATED_ERRORโ
readonlyAPPLICATION_FORWARD_SITE_UPDATED_ERROR:"[ApplicationService] Failed to forward site updated to renderer"="[ApplicationService] Failed to forward site updated to renderer"
APPLICATION_FORWARD_STATE_SYNC_ERRORโ
readonlyAPPLICATION_FORWARD_STATE_SYNC_ERROR:"[ApplicationService] Failed to forward state sync event to renderer"="[ApplicationService] Failed to forward state sync event to renderer"
APPLICATION_INITIALIZATION_ERRORโ
readonlyAPPLICATION_INITIALIZATION_ERROR:"[ApplicationService] Error during app initialization"="[ApplicationService] Error during app initialization"
APPLICATION_SYSTEM_ERRORโ
readonlyAPPLICATION_SYSTEM_ERROR:"[ApplicationService] System error: {context}"="[ApplicationService] System error: {context}"
APPLICATION_UPDATE_CHECK_ERRORโ
readonlyAPPLICATION_UPDATE_CHECK_ERROR:"[ApplicationService] Failed to check for updates"="[ApplicationService] Failed to check for updates"
DATABASE_BACKUP_FAILEDโ
readonlyDATABASE_BACKUP_FAILED:"[DatabaseBackup] Failed to create database backup"="[DatabaseBackup] Failed to create database backup"
Database errors
DATABASE_INDEXES_FAILEDโ
readonlyDATABASE_INDEXES_FAILED:"[DatabaseSchema] Failed to create indexes"="[DatabaseSchema] Failed to create indexes"
DATABASE_SCHEMA_FAILEDโ
readonlyDATABASE_SCHEMA_FAILED:"[DatabaseSchema] Failed to create database schema"="[DatabaseSchema] Failed to create database schema"
DATABASE_TABLES_FAILEDโ
readonlyDATABASE_TABLES_FAILED:"[DatabaseSchema] Failed to create tables"="[DatabaseSchema] Failed to create tables"
DATABASE_VALIDATION_SETUP_FAILEDโ
readonlyDATABASE_VALIDATION_SETUP_FAILED:"[DatabaseSchema] Failed to setup monitor type validation"="[DatabaseSchema] Failed to setup monitor type validation"
EVENT_BUS_EMISSION_FAILEDโ
readonlyEVENT_BUS_EMISSION_FAILED:"[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]"="[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]"
Event bus errors
HISTORY_ADD_FAILEDโ
readonlyHISTORY_ADD_FAILED:"[HistoryManipulation] Failed to add history entry for monitor: {monitorId}"="[HistoryManipulation] Failed to add history entry for monitor: {monitorId}"
History errors
HISTORY_BULK_INSERT_FAILEDโ
readonlyHISTORY_BULK_INSERT_FAILED:"[HistoryManipulation] Failed to bulk insert history for monitor: {monitorId}"="[HistoryManipulation] Failed to bulk insert history for monitor: {monitorId}"
HISTORY_FETCH_FAILEDโ
readonlyHISTORY_FETCH_FAILED:"[HistoryQuery] Failed to fetch history for monitor: {monitorId}"="[HistoryQuery] Failed to fetch history for monitor: {monitorId}"
HISTORY_LATEST_FETCH_FAILEDโ
readonlyHISTORY_LATEST_FETCH_FAILED:"[HistoryQuery] Failed to get latest history entry for monitor: {monitorId}"="[HistoryQuery] Failed to get latest history entry for monitor: {monitorId}"
HISTORY_MAPPER_FAILEDโ
readonlyHISTORY_MAPPER_FAILED:"[HistoryMapper] Failed to map database row to history entry"="[HistoryMapper] Failed to map database row to history entry"
HISTORY_PRUNE_FAILEDโ
readonlyHISTORY_PRUNE_FAILED:"[HistoryManipulation] Failed to prune history for monitor: {monitorId}"="[HistoryManipulation] Failed to prune history for monitor: {monitorId}"
MONITOR_CHECK_ENHANCED_FAILEDโ
readonlyMONITOR_CHECK_ENHANCED_FAILED:"Enhanced monitor check failed for {monitorId}"="Enhanced monitor check failed for {monitorId}"
Monitor errors
MONITOR_MAPPER_FAILEDโ
readonlyMONITOR_MAPPER_FAILED:"[MonitorMapper] Failed to build monitor parameters"="[MonitorMapper] Failed to build monitor parameters"
SETTINGS_MAPPER_FAILEDโ
readonlySETTINGS_MAPPER_FAILED:"[SettingsMapper:rowToSetting] Failed to map database row to setting"="[SettingsMapper:rowToSetting] Failed to map database row to setting"
Settings errors
SITE_BACKGROUND_LOAD_EMIT_ERRORโ
readonlySITE_BACKGROUND_LOAD_EMIT_ERROR:"[SiteManager] Failed to emit background load error event"="[SiteManager] Failed to emit background load error event"
SITE_BACKGROUND_LOAD_FAILEDโ
readonlySITE_BACKGROUND_LOAD_FAILED:"[SiteManager] Background site load failed for {identifier}"="[SiteManager] Background site load failed for {identifier}"
Site errors
SITE_HISTORY_LIMIT_FAILEDโ
readonlySITE_HISTORY_LIMIT_FAILED:"[SiteManager] Failed to set history limit"="[SiteManager] Failed to set history limit"
SITE_INITIALIZATION_FAILEDโ
readonlySITE_INITIALIZATION_FAILED:"[SiteManager] Failed to initialize cache"="[SiteManager] Failed to initialize cache"
SITE_MAPPER_FAILEDโ
readonlySITE_MAPPER_FAILED:"[SiteMapper] Failed to map database row to site"="[SiteMapper] Failed to map database row to site"
SITE_MONITOR_REMOVAL_FAILEDโ
readonlySITE_MONITOR_REMOVAL_FAILED:"[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}"="[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}"