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

Function ErrMalformed

server/datamodel.go:1214–1216  ·  view source on GitHub ↗

4xx Errors ErrMalformed request malformed (400).

(id, topic string, ts time.Time)

Source from the content-addressed store, hash-verified

1212
1213// ErrMalformed request malformed (400).
1214func ErrMalformed(id, topic string, ts time.Time) *ServerComMessage {
1215 return ErrMalformedExplicitTs(id, topic, ts, ts)
1216}
1217
1218// ErrMalformedReply request malformed
1219// in response to a client request (400).

Callers 9

serveLongPollFunction · 0.85
dispatchRawMethod · 0.85
dispatchMethod · 0.85
helloMethod · 0.85
expandTopicNameMethod · 0.85
largeFileReceiveHTTPFunction · 0.85
replyCreateUserFunction · 0.85
replyUpdateUserFunction · 0.85
replyDelUserFunction · 0.85

Calls 1

ErrMalformedExplicitTsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…