ErrNotFoundExplicitTs is an error for missing objects other than user or topic with explicit server and incoming request timestamps (404).
(id, topic string, serverTs, incomingReqTs time.Time)
| 1390 | // ErrNotFoundExplicitTs is an error for missing objects other than user or topic |
| 1391 | // with explicit server and incoming request timestamps (404). |
| 1392 | func ErrNotFoundExplicitTs(id, topic string, serverTs, incomingReqTs time.Time) *ServerComMessage { |
| 1393 | return &ServerComMessage{ |
| 1394 | Ctrl: &MsgServerCtrl{ |
| 1395 | Id: id, |
| 1396 | Code: http.StatusNotFound, // 404 |
| 1397 | Text: "not found", |
| 1398 | Topic: topic, |
| 1399 | Timestamp: serverTs, |
| 1400 | }, |
| 1401 | Id: id, |
| 1402 | Timestamp: incomingReqTs, |
| 1403 | } |
| 1404 | } |
| 1405 | |
| 1406 | // ErrNotFoundReply is an error for missing objects other than user or topic |
| 1407 | // with explicit server and incoming request timestamps in response to a client request (404). |
no outgoing calls
no test coverage detected
searching dependent graphs…