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

Function IsAlreadyExists

errortypes.go:255–257  ·  view source on GitHub ↗

Deprecated: IsAlreadyExists reports whether the err is a AlreadyExists error. Use Is(err, AlreadyExists).

(err error)

Source from the content-addressed store, hash-verified

253// Deprecated: IsAlreadyExists reports whether the err is a AlreadyExists
254// error. Use Is(err, AlreadyExists).
255func IsAlreadyExists(err error) bool {
256 return Is(err, AlreadyExists)
257}
258
259// NotSupportedf returns an error which satisfies Is(err, NotSupported) and the
260// 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…