MCPcopy
hub / github.com/tinode/chat / decodeStoreError

Function decodeStoreError

server/utils.go:172–174  ·  view source on GitHub ↗
(err error, id string, ts time.Time, params map[string]any)

Source from the content-addressed store, hash-verified

170}
171
172func decodeStoreError(err error, id string, ts time.Time, params map[string]any) *ServerComMessage {
173 return decodeStoreErrorExplicitTs(err, id, "", ts, ts, params)
174}
175
176func decodeStoreErrorExplicitTs(err error, id, topic string, serverTs, incomingReqTs time.Time,
177 params map[string]any) *ServerComMessage {

Callers 10

helloMethod · 0.85
accMethod · 0.85
loginMethod · 0.85
largeFileServeHTTPFunction · 0.85
largeFileReceiveHTTPFunction · 0.85
LargeFileServeMethod · 0.85
LargeFileReceiveMethod · 0.85
replyCreateUserFunction · 0.85
replyUpdateUserFunction · 0.85
replyDelUserFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…