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

Function NotValidf

errortypes.go:285–290  ·  view source on GitHub ↗

NotValidf returns an error which satisfies Is(err, NotValid) and the Locationer interface.

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

Source from the content-addressed store, hash-verified

283// NotValidf returns an error which satisfies Is(err, NotValid) and the
284// Locationer interface.
285func NotValidf(format string, args ...interface{}) error {
286 return newLocationError(
287 makeWrappedConstError(NotValid, format, args...),
288 1,
289 )
290}
291
292// NewNotValid returns an error which wraps err and satisfies Is(err, NotValid)
293// 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…