Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mpolden/echoip
/ notFound
Function
notFound
http/error.go:20–22 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
notFound(err error) *appError {
21
return
&appError{Error: err, Code: http.StatusNotFound}
22
}
23
24
func
badRequest(err error) *appError {
25
return
&appError{Error: err, Code: http.StatusBadRequest}
Callers
1
NotFoundHandler
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected