MCPcopy
hub / github.com/harness/harness / NotFound

Function NotFound

app/api/usererror/usererror.go:174–176  ·  view source on GitHub ↗

NotFound returns a new user facing not found error.

(message string)

Source from the content-addressed store, hash-verified

172
173// NotFound returns a new user facing not found error.
174func NotFound(message string) *Error {
175 return New(http.StatusNotFound, message)
176}
177
178// NotFoundf returns a new user facing not found error.
179func NotFoundf(format string, args ...any) *Error {

Callers 4

GetPackageMetadataMethod · 0.92
ImportProgressMethod · 0.92
ExportProgressMethod · 0.92
SearchMethod · 0.92

Calls 1

NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…