Skip to content

@adrianhall/cloudflare-toolkit


@adrianhall/cloudflare-toolkit / index / notImplemented

Function: notImplemented()

notImplemented(input?): ProblemDetailsError

Defined in: src/lib/errors/generators.ts:154

Create a 501 Not Implemented ProblemDetailsError.

Parameters

input?

HttpErrorInput<Record<string, unknown>>

Optional problem details fields (detail, type, instance, extensions).

Returns

ProblemDetailsError

A 501-status ProblemDetailsError ready to throw.