Skip to main content

Variable: ERROR_LOGS

const ERROR_LOGS: { APPLICATION_CLEANUP_ERROR: "[ApplicationService] Error during cleanup"; APPLICATION_FORWARD_CACHE_INVALIDATION_ERROR: "[ApplicationService] Failed to forward cache invalidation 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_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:257

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error log templates.

Type Declarationโ€‹

APPLICATION_CLEANUP_ERRORโ€‹

readonly APPLICATION_CLEANUP_ERROR: "[ApplicationService] Error during cleanup" = "[ApplicationService] Error during cleanup"

Application errors

APPLICATION_FORWARD_CACHE_INVALIDATION_ERRORโ€‹

readonly APPLICATION_FORWARD_CACHE_INVALIDATION_ERROR: "[ApplicationService] Failed to forward cache invalidation to renderer" = "[ApplicationService] Failed to forward cache invalidation to renderer"

APPLICATION_FORWARD_MONITOR_DOWN_ERRORโ€‹

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

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

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

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

readonly APPLICATION_FORWARD_MONITORING_STOPPED_ERROR: "[ApplicationService] Failed to forward monitoring stopped to renderer" = "[ApplicationService] Failed to forward monitoring stopped to renderer"

APPLICATION_INITIALIZATION_ERRORโ€‹

readonly APPLICATION_INITIALIZATION_ERROR: "[ApplicationService] Error during app initialization" = "[ApplicationService] Error during app initialization"

APPLICATION_SYSTEM_ERRORโ€‹

readonly APPLICATION_SYSTEM_ERROR: "[ApplicationService] System error: {context}" = "[ApplicationService] System error: {context}"

APPLICATION_UPDATE_CHECK_ERRORโ€‹

readonly APPLICATION_UPDATE_CHECK_ERROR: "[ApplicationService] Failed to check for updates" = "[ApplicationService] Failed to check for updates"

DATABASE_BACKUP_FAILEDโ€‹

readonly DATABASE_BACKUP_FAILED: "[DatabaseBackup] Failed to create database backup" = "[DatabaseBackup] Failed to create database backup"

Database errors

DATABASE_INDEXES_FAILEDโ€‹

readonly DATABASE_INDEXES_FAILED: "[DatabaseSchema] Failed to create indexes" = "[DatabaseSchema] Failed to create indexes"

DATABASE_SCHEMA_FAILEDโ€‹

readonly DATABASE_SCHEMA_FAILED: "[DatabaseSchema] Failed to create database schema" = "[DatabaseSchema] Failed to create database schema"

DATABASE_TABLES_FAILEDโ€‹

readonly DATABASE_TABLES_FAILED: "[DatabaseSchema] Failed to create tables" = "[DatabaseSchema] Failed to create tables"

DATABASE_VALIDATION_SETUP_FAILEDโ€‹

readonly DATABASE_VALIDATION_SETUP_FAILED: "[DatabaseSchema] Failed to setup monitor type validation" = "[DatabaseSchema] Failed to setup monitor type validation"

EVENT_BUS_EMISSION_FAILEDโ€‹

readonly EVENT_BUS_EMISSION_FAILED: "[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]" = "[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]"

Event bus errors

HISTORY_ADD_FAILEDโ€‹

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

readonly HISTORY_BULK_INSERT_FAILED: "[HistoryManipulation] Failed to bulk insert history for monitor: {monitorId}" = "[HistoryManipulation] Failed to bulk insert history for monitor: {monitorId}"

HISTORY_FETCH_FAILEDโ€‹

readonly HISTORY_FETCH_FAILED: "[HistoryQuery] Failed to fetch history for monitor: {monitorId}" = "[HistoryQuery] Failed to fetch history for monitor: {monitorId}"

HISTORY_LATEST_FETCH_FAILEDโ€‹

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

readonly HISTORY_MAPPER_FAILED: "[HistoryMapper] Failed to map database row to history entry" = "[HistoryMapper] Failed to map database row to history entry"

HISTORY_PRUNE_FAILEDโ€‹

readonly HISTORY_PRUNE_FAILED: "[HistoryManipulation] Failed to prune history for monitor: {monitorId}" = "[HistoryManipulation] Failed to prune history for monitor: {monitorId}"

MONITOR_CHECK_ENHANCED_FAILEDโ€‹

readonly MONITOR_CHECK_ENHANCED_FAILED: "Enhanced monitor check failed for {monitorId}" = "Enhanced monitor check failed for {monitorId}"

Monitor errors

MONITOR_MAPPER_FAILEDโ€‹

readonly MONITOR_MAPPER_FAILED: "[MonitorMapper] Failed to build monitor parameters" = "[MonitorMapper] Failed to build monitor parameters"

SETTINGS_MAPPER_FAILEDโ€‹

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

readonly SITE_BACKGROUND_LOAD_EMIT_ERROR: "[SiteManager] Failed to emit background load error event" = "[SiteManager] Failed to emit background load error event"

SITE_BACKGROUND_LOAD_FAILEDโ€‹

readonly SITE_BACKGROUND_LOAD_FAILED: "[SiteManager] Background site load failed for {identifier}" = "[SiteManager] Background site load failed for {identifier}"

Site errors

SITE_HISTORY_LIMIT_FAILEDโ€‹

readonly SITE_HISTORY_LIMIT_FAILED: "[SiteManager] Failed to set history limit" = "[SiteManager] Failed to set history limit"

SITE_INITIALIZATION_FAILEDโ€‹

readonly SITE_INITIALIZATION_FAILED: "[SiteManager] Failed to initialize cache" = "[SiteManager] Failed to initialize cache"

SITE_MAPPER_FAILEDโ€‹

readonly SITE_MAPPER_FAILED: "[SiteMapper] Failed to map database row to site" = "[SiteMapper] Failed to map database row to site"

SITE_MONITOR_REMOVAL_FAILEDโ€‹

readonly SITE_MONITOR_REMOVAL_FAILED: "[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}" = "[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}"