MCPcopy Create free account
hub / github.com/cortexproject/cortex / Is

Method Is

pkg/util/errors/errors.go:22–24  ·  view source on GitHub ↗

Is To support errors.Is().

(err error)

Source from the content-addressed store, hash-verified

20
21// Is To support errors.Is().
22func (e errWithCause) Is(err error) bool {
23 return errors.Is(err, e.error) || errors.Is(err, e.cause)
24}
25
26// Unwrap To support errors.Unwrap().
27func (e errWithCause) Unwrap() error {

Callers 15

TestZoneAwareReplicationFunction · 0.45
NewRingServiceDiscoveryFunction · 0.45
WatchKeyMethod · 0.45
WatchPrefixMethod · 0.45
FetchMethod · 0.45
syncUsersBlocksMethod · 0.45

Calls

no outgoing calls