/Knowledge/sources/honojs__hono/llms-full/httpexception-throwing-httpexceptions--f82773d8e29f.md
HTTPException: Throwing HTTPExceptions - hono-docs
HTTPException: Throwing HTTPExceptions Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt throwing httpex...
HTTPException: Throwing HTTPExceptions
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#throwing-httpexceptions
Summary
You can throw your own HTTPExceptions by specifying a status code, and either a message or a custom response.
Content
You can throw your own HTTPExceptions by specifying a status code, and either a message or a custom response.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#throwing-httpexceptions",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / HTTPException > Throwing HTTPExceptions",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 611,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "HTTPException: Throwing HTTPExceptions",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}