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

Function IsForbidden

errortypes.go:423–425  ·  view source on GitHub ↗

Deprecated: IsForbidden reports whether err is a Forbidden error. Use Is(err, Forbidden).

(err error)

Source from the content-addressed store, hash-verified

421// Deprecated: IsForbidden reports whether err is a Forbidden error. Use
422// Is(err, Forbidden).
423func IsForbidden(err error) bool {
424 return Is(err, Forbidden)
425}
426
427// QuotaLimitExceededf returns an error which satisfies
428// Is(err, QuotaLimitExceeded) and the 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…