/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-notfound-d488e1004b07-notfound-s0558-c0000.md
notFound() - hono-docs
notFound() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt notfound Summary Return a Not Found Re...
notFound()
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#notfound
Summary
Return a Not Found Response. You can customize it with app.notFound(). ts twoslash import { Hono } from 'hono' const app = new Hono() // ---cut--- app.get('/notfound', (c) => { return c.notFound() })
Content
Return a Not Found Response. You can customize it with app.notFound().
import { Hono } from 'hono'
const app = new Hono()
// ---cut---
app.get('/notfound', (c) => {
return c.notFound()
})