/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-not-found-15fce08df476-not-found-s0618-c0000.md

Not Found - hono-docs

Not Found Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt not found Summary app.notFound allows y...

Not Found

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#not-found

Summary

app.notFound allows you to customize a Not Found Response. ts twoslash import { Hono } from 'hono' const app = new Hono() // ---cut--- app.notFound((c) => { return c.text('Custom 404 Message', 404) }) :::warning The notFound m...

Content

app.notFound allows you to customize a Not Found Response.

import { Hono } from 'hono'
const app = new Hono()
// ---cut---
app.notFound((c) => {
  return c.text('Custom 404 Message', 404)
})

:::warning The notFound method is only called from the top-level app. For more information, see this issue. :::

Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-not-found-15fce08df476-not-found-s0618-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.