class CloudflareRequestTimeoutError
extends Error
Since 0.2.0

A brokered request received no reply within its budget.

The Cloudflare counterpart of messaging-plugin's RequestTimeoutError. They are deliberately distinct classes rather than one shared identity: AI_GUIDELINES §2.2 forbids a plugin importing another plugin, and common carries no error class to promote one into (§2.1 limits it to types, interfaces, constants and pure utilities). Which class an application catches is never ambiguous — MessagingPlugin and this package's messaging arm both provide CAPABILITIES.MESSAGING, so the kernel's duplicate-provider check guarantees exactly one of them is registered.

Constructors

CloudflareRequestTimeoutError(
topic: string,
timeoutMs: number
)

Builds the error a caller receives when its reply budget elapses.

Parameters
topic: string

The request topic that went unanswered

timeoutMs: number

The budget that elapsed

Properties

readonly
name: string

Discriminating name for instanceof-free checks.

Usage

import { CloudflareRequestTimeoutError } from "cloudflare-plugin/src/index.ts";