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

Function NotSupportedf

errortypes.go:261–266  ·  view source on GitHub ↗

NotSupportedf returns an error which satisfies Is(err, NotSupported) and the Locationer interface.

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

Source from the content-addressed store, hash-verified

259// NotSupportedf returns an error which satisfies Is(err, NotSupported) and the
260// Locationer interface.
261func NotSupportedf(format string, args ...interface{}) error {
262 return newLocationError(
263 makeWrappedConstError(NotSupported, format, args...),
264 1,
265 )
266}
267
268// NewNotSupported returns an error which satisfies Is(err, NotSupported) and
269// 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…