@adrianhall/cloudflare-toolkit
@adrianhall/cloudflare-toolkit / lib/hono / NotFoundHandlerOptions
Interface: NotFoundHandlerOptions
Defined in: src/lib/hono/not-found-handler.ts:22
Options for notFoundHandler.
Properties
autoInstance?
optionalautoInstance?:boolean
Defined in: src/lib/hono/not-found-handler.ts:32
When true, populate instance from the request path (c.req.path).
Default: false, matching problemDetailsErrorHandler's own default.
defaultType?
optionaldefaultType?:string
Defined in: src/lib/hono/not-found-handler.ts:26
Default type URI when typePrefix is not set. Defaults to "about:blank".
typePrefix?
optionaltypePrefix?:string
Defined in: src/lib/hono/not-found-handler.ts:24
Prefix for the type URI. When set, a status-derived slug is appended.