@adrianhall/cloudflare-toolkit
@adrianhall/cloudflare-toolkit / index / notFound
Function: notFound()
notFound(
input?):ProblemDetailsError
Defined in: src/lib/errors/generators.ts:64
Create a 404 Not Found ProblemDetailsError.
Parameters
input?
HttpErrorInput<Record<string, unknown>>
Optional problem details fields (detail, type, instance, extensions).
Returns
A 404-status ProblemDetailsError ready to throw.