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

Function IsNotValid

errortypes.go:303–305  ·  view source on GitHub ↗

Deprecated: IsNotValid reports whether err is a NotValid error. Use Is(err, NotValid).

(err error)

Source from the content-addressed store, hash-verified

301// Deprecated: IsNotValid reports whether err is a NotValid error. Use
302// Is(err, NotValid).
303func IsNotValid(err error) bool {
304 return Is(err, NotValid)
305}
306
307// NotProvisionedf returns an error which satisfies Is(err, NotProvisioned) and
308// 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…