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

Function makeLimitError

pkg/ingester/errors.go:17–23  ·  view source on GitHub ↗
(errorType string, err error)

Source from the content-addressed store, hash-verified

15}
16
17func makeLimitError(errorType string, err error) error {
18 return &validationError{
19 errorType: errorType,
20 err: err,
21 code: http.StatusBadRequest,
22 }
23}
24
25func makeMetricLimitError(errorType string, labels labels.Labels, err error) error {
26 return &validationError{

Callers 4

PushMethod · 0.85
addMethod · 0.85

Calls

no outgoing calls