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

Function IsBadRequest

errortypes.go:375–377  ·  view source on GitHub ↗

Deprecated: IsBadRequest reports whether err is a BadRequest error. Use Is(err, BadRequest)

(err error)

Source from the content-addressed store, hash-verified

373// Deprecated: IsBadRequest reports whether err is a BadRequest error.
374// Use Is(err, BadRequest)
375func IsBadRequest(err error) bool {
376 return Is(err, BadRequest)
377}
378
379// MethodNotAllowedf returns an error which satisfies Is(err, MethodNotAllowed)
380// 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…