class CloudflareUnsupportedError
extends Error
Since 0.2.0

The requested operation has no counterpart on the Cloudflare binding.

Thrown by R2Storage.getSignedUrl — the R2 Workers binding exposes no presigned-URL capability at all — and by KvCacheStore.clear() when the store has no key prefix, where the sweep would delete keys the store does not own.

Constructors

CloudflareUnsupportedError(message: string)
Parameters
message: string

What is unsupported, and what to do instead

Properties

readonly
name: string

Discriminating name for instanceof-free checks.

Usage

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