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

Function NotAssignedf

errortypes.go:333–338  ·  view source on GitHub ↗

NotAssignedf returns an error which satisfies Is(err, NotAssigned) and the Locationer interface.

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

Source from the content-addressed store, hash-verified

331// NotAssignedf returns an error which satisfies Is(err, NotAssigned) and the
332// Locationer interface.
333func NotAssignedf(format string, args ...interface{}) error {
334 return newLocationError(
335 makeWrappedConstError(NotAssigned, format, args...),
336 1,
337 )
338}
339
340// NewNotAssigned returns an error which wraps err and satisfies
341// Is(err, NotAssigned) 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…