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

Function IsNotSupported

errortypes.go:279–281  ·  view source on GitHub ↗

Deprecated: IsNotSupported reports whether err is a NotSupported error. Use Is(err, NotSupported).

(err error)

Source from the content-addressed store, hash-verified

277// Deprecated: IsNotSupported reports whether err is a NotSupported error. Use
278// Is(err, NotSupported).
279func IsNotSupported(err error) bool {
280 return Is(err, NotSupported)
281}
282
283// NotValidf returns an error which satisfies Is(err, NotValid) and the
284// 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…