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

Function ParseErrorReply

internal/proto/reader.go:52–55  ·  view source on GitHub ↗
(line []byte)

Source from the content-addressed store, hash-verified

50func (RedisError) RedisError() {}
51
52func ParseErrorReply(line []byte) error {
53 msg := string(line[1:])
54 return parseTypedRedisError(msg)
55}
56
57//------------------------------------------------------------------------------
58

Calls 1

parseTypedRedisErrorFunction · 0.85