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

Method Error

pkg/ingester/errors.go:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (e *validationError) Error() string {
35 if e.err == nil {
36 return e.errorType
37 }
38 if e.labels.IsEmpty() {
39 return e.err.Error()
40 }
41 return fmt.Sprintf("%s for series %s", e.err.Error(), e.labels.String())
42}
43
44// wrapWithUser prepends the user to the error. It does not retain a reference to err.
45func wrapWithUser(err error, userID string) error {

Callers 15

TestGetPostingForLabelsFunction · 0.45
GetSeriesQueriedMethod · 0.45
updateUserTSDBConfigsMethod · 0.45
checkRunningMethod · 0.45
PushMethod · 0.45
PushStreamMethod · 0.45
createTSDBMethod · 0.45
openExistingTSDBMethod · 0.45

Calls 2

StringMethod · 0.65
IsEmptyMethod · 0.45