Skip to main content

Class: MonitorConfigurationError

Defined in: electron/services/monitoring/MonitorFactory.ts:57

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error thrown when a monitor service fails to apply configuration updates.

Extends

Constructors

Constructor

new MonitorConfigurationError(type: "cdn-edge-consistency" | "dns" | "http" | "http-header" | "http-json" | "http-keyword" | "http-latency" | "http-status" | "ping" | "port" | "replication" | "server-heartbeat" | "ssl" | "websocket-keepalive", message: string, cause?: Error): MonitorConfigurationError

Defined in: electron/services/monitoring/MonitorFactory.ts:66

Parameters

type

Monitor type whose configuration update failed.

"cdn-edge-consistency" | "dns" | "http" | "http-header" | "http-json" | "http-keyword" | "http-latency" | "http-status" | "ping" | "port" | "replication" | "server-heartbeat" | "ssl" | "websocket-keepalive"

message

string

Normalized error message from the underlying failure.

cause?

Error

Optional underlying error for rich diagnostics.

Returns

MonitorConfigurationError

Overrides

Error.constructor

Properties

type

readonly type: "cdn-edge-consistency" | "dns" | "http" | "http-header" | "http-json" | "http-keyword" | "http-latency" | "http-status" | "ping" | "port" | "replication" | "server-heartbeat" | "ssl" | "websocket-keepalive"

Defined in: electron/services/monitoring/MonitorFactory.ts:59

The monitor type whose configuration failed to apply.