Skip to main content

Class: MonitorConfigurationError

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

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: "http" | "http-keyword" | "http-status" | "http-header" | "http-json" | "http-latency" | "port" | "ping" | "dns" | "ssl" | "websocket-keepalive" | "server-heartbeat" | "replication" | "cdn-edge-consistency", message: string, cause?: Error): MonitorConfigurationError

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

Parameters

type

Monitor type whose configuration update failed.

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

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: "http" | "http-keyword" | "http-status" | "http-header" | "http-json" | "http-latency" | "port" | "ping" | "dns" | "ssl" | "websocket-keepalive" | "server-heartbeat" | "replication" | "cdn-edge-consistency"

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

The monitor type whose configuration failed to apply.