class CloudBrokerUnavailableError
extends Error
Since 0.1.0

Thrown by a cloud broker's IMessageBroker.connect when the runtime platform is Cloudflare Workers and the SDK cannot function (gRPC, AMQP, or long-poll — not fetch). The throw fails app.start() at the earliest possible point.

Constructors

CloudBrokerUnavailableError(
backend: string,
specifier: string
)

Usage

import { CloudBrokerUnavailableError } from "messaging-plugin/src/index.ts";