Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ Error
Method
Error
pkg/util/validation/limits.go:53–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
type
LimitError string
52
53
func
(e LimitError) Error() string {
54
return
string(e)
55
}
56
57
func
IsLimitError(e error) bool {
58
var
limitError LimitError
Callers
6
TestLimitsLoadingFromJson
Function · 0.45
TestNotificationLimitsMap
Function · 0.45
TestUnknownIntegrationWhenLoadingYaml
Function · 0.45
TestWrongYamlStructureWhenLoadingYaml
Function · 0.45
TestValidateNativeHistogram
Function · 0.45
Validate
Method · 0.45
Calls
no outgoing calls
Tested by
5
TestLimitsLoadingFromJson
Function · 0.36
TestNotificationLimitsMap
Function · 0.36
TestUnknownIntegrationWhenLoadingYaml
Function · 0.36
TestWrongYamlStructureWhenLoadingYaml
Function · 0.36
TestValidateNativeHistogram
Function · 0.36