Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ TestIsLimitError
Function
TestIsLimitError
pkg/util/validation/limits_test.go:995–998 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
993
}
994
995
func
TestIsLimitError(t *testing.T) {
996
assert.False(t, IsLimitError(fmt.Errorf(
"test error"
)))
997
assert.True(t, IsLimitError(LimitError(
"test error"
)))
998
}
Callers
nothing calls this directly
Calls
2
IsLimitError
Function · 0.85
LimitError
TypeAlias · 0.85
Tested by
no test coverage detected