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

Method IsOperationAborted

pkg/ring/kv/metrics_test.go:15–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14func (e operationAbortedError) Error() string { return "operation aborted" }
15func (e operationAbortedError) IsOperationAborted() bool { return true }
16
17func TestGetCasErrorCode(t *testing.T) {
18 abortedErr := operationAbortedError{}

Callers 1

getCasErrorCodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected