MCPcopy Index your code
hub / github.com/cortexproject/cortex / IsLimitError

Function IsLimitError

pkg/util/validation/limits.go:57–60  ·  view source on GitHub ↗
(e error)

Source from the content-addressed store, hash-verified

55}
56
57func IsLimitError(e error) bool {
58 var limitError LimitError
59 return errors.As(e, &limitError)
60}
61
62type DisabledRuleGroup struct {
63 Namespace string `yaml:"namespace" doc:"nocli|description=namespace in which the rule group belongs"`

Callers 3

DoMethod · 0.92
TestIsLimitErrorFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestIsLimitErrorFunction · 0.68