MCPcopy
hub / github.com/redis/go-redis / MovedError

Struct MovedError

internal/proto/redis_errors.go:44–47  ·  internal/proto/redis_errors.go::MovedError

MovedError is returned when a key has been moved to a different node in a cluster.

Source from the content-addressed store, hash-verified

42
43// MovedError is returned when a key has been moved to a different node in a cluster.
44type MovedError struct {
45 msg string
46 addr string
47}
48
49func (e *MovedError) Error() string {
50 return e.msg

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected