MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / Error

Method Error

cache/redis_cache.go:458–465  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

456}
457
458func (e *RedisCacheError) Error() string {
459 errorMsg := fmt.Sprintf("error while reading cached result in redis for key %s, only %d bytes of %d were fetched",
460 e.key, e.readPayloadSize, e.expectedPayloadSize)
461 if e.rootcause != nil {
462 errorMsg = fmt.Sprintf("%s, root cause:%s", errorMsg, e.rootcause)
463 }
464 return errorMsg
465}
466
467type RedisCacheCorruptionError struct {
468}

Callers 8

serveFromCacheMethod · 0.45
TestServeFunction · 0.45
TestApplyConfigFunction · 0.45
ErrorWithCallDepthFunction · 0.45
TestBadConfigFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestServeFunction · 0.36
TestApplyConfigFunction · 0.36
TestBadConfigFunction · 0.36