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

Function UserNotFoundf

errortypes.go:165–170  ·  view source on GitHub ↗

UserNotFoundf returns an error which satisfies Is(err, UserNotFound) and the Locationer interface.

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

163// UserNotFoundf returns an error which satisfies Is(err, UserNotFound) and the
164// Locationer interface.
165func UserNotFoundf(format string, args ...interface{}) error {
166 return newLocationError(
167 makeWrappedConstError(UserNotFound, format, args...),
168 1,
169 )
170}
171
172// NewUserNotFound returns an error which wraps err and satisfies
173// Is(err, UserNotFound) and the Locationer interface.

Callers

nothing calls this directly

Calls 2

newLocationErrorFunction · 0.85
makeWrappedConstErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…