Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kilo-Org/cloud
/ createNotFoundHandler
Function
createNotFoundHandler
packages/worker-utils/src/not-found-handler.ts:6–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
* Create a Hono `app.notFound` handler that returns a 404 JSON response.
5
*/
6
export
function
createNotFoundHandler(): NotFoundHandler {
7
return
c => {
8
return
c.json({ error:
'Not found'
}, 404);
9
};
10
}
Callers
7
index.ts
File · 0.90
index.ts
File · 0.90
index.ts
File · 0.90
index.ts
File · 0.90
index.ts
File · 0.90
index.ts
File · 0.90
server.ts
File · 0.90
Calls
1
json
Method · 0.65
Tested by
no test coverage detected