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

Function WrapQueryableErrors

pkg/ruler/compat.go:448–454  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

446}
447
448func WrapQueryableErrors(err error) error {
449 if err == nil {
450 return err
451 }
452
453 return QueryableError{err: err}
454}

Callers 1

Calls

no outgoing calls

Tested by 1