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

Function IsUserNotFound

errortypes.go:183–185  ·  view source on GitHub ↗

Deprecated: IsUserNotFound reports whether err is a UserNotFound error. Use Is(err, UserNotFound).

(err error)

Source from the content-addressed store, hash-verified

181// Deprecated: IsUserNotFound reports whether err is a UserNotFound error. Use
182// Is(err, UserNotFound).
183func IsUserNotFound(err error) bool {
184 return Is(err, UserNotFound)
185}
186
187// Unauthorizedf returns an error that satisfies Is(err, Unauthorized) and
188// the 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…