MCPcopy Create free account
hub / github.com/juju/errors / IsNotFound

Function IsNotFound

errortypes.go:159–161  ·  view source on GitHub ↗

Deprecated: IsNotFound reports whether err is a NotFound error. Use Is(err, NotFound).

(err error)

Source from the content-addressed store, hash-verified

157// Deprecated: IsNotFound reports whether err is a NotFound error. Use
158// Is(err, NotFound).
159func IsNotFound(err error) bool {
160 return Is(err, NotFound)
161}
162
163// UserNotFoundf returns an error which satisfies Is(err, UserNotFound) and the
164// Locationer interface.

Callers

nothing calls this directly

Calls 1

IsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…