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

Function IsMethodNotAllowed

errortypes.go:399–401  ·  view source on GitHub ↗

Deprecated: IsMethodNotAllowed reports whether err is a MethodNotAllowed error. Use Is(err, MethodNotAllowed)

(err error)

Source from the content-addressed store, hash-verified

397// Deprecated: IsMethodNotAllowed reports whether err is a MethodNotAllowed
398// error. Use Is(err, MethodNotAllowed)
399func IsMethodNotAllowed(err error) bool {
400 return Is(err, MethodNotAllowed)
401}
402
403// Forbiddenf returns an error which satistifes Is(err, Forbidden) and the
404// 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…