MCPcopy Create free account
hub / github.com/CodisLabs/codis / NewErrorf

Function NewErrorf

pkg/proxy/redis/resp.go:76–78  ·  view source on GitHub ↗
(format string, args ...interface{})

Source from the content-addressed store, hash-verified

74}
75
76func NewErrorf(format string, args ...interface{}) *Resp {
77 return NewError([]byte(fmt.Sprintf(format, args...)))
78}
79
80func NewInt(value []byte) *Resp {
81 r := &Resp{}

Callers

nothing calls this directly

Calls 1

NewErrorFunction · 0.85

Tested by

no test coverage detected