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

Struct AskError

internal/proto/redis_errors.go:66–69  ·  view source on GitHub ↗

AskError is returned when a key is being migrated and the client should ask another node.

Source from the content-addressed store, hash-verified

64
65// AskError is returned when a key is being migrated and the client should ask another node.
66type AskError struct {
67 msg string
68 addr string
69}
70
71func (e *AskError) Error() string {
72 return e.msg

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected