class CloudflareRemoteHandlerError
extends Error
Since 0.2.0

A responder threw, and its failure was relayed to the caller.

The Cloudflare counterpart of messaging-plugin's RemoteHandlerError; see CloudflareRequestTimeoutError for why the two are distinct.

Constructors

CloudflareRemoteHandlerError(message: string)

Builds the error relaying a remote responder's failure to its caller.

Parameters
message: string

The message the remote responder failed with

Properties

readonly
name: string

Discriminating name for instanceof-free checks.

Usage

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