MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / send_query_answer_error

Method send_query_answer_error

net/TcpConnection.cpp:181–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void TcpConnection::send_query_answer_error(td::int64 query_id, td::Status error) {
182 send(create_serialize_tl_object<cocoon_api::tcp_queryError>(query_id, error.code(), error.message().str()));
183}
184
185td::Status TcpConnection::receive(td::ChainBufferReader &input, bool &exit_loop) {
186 if (stop_read_) {

Callers

nothing calls this directly

Calls 1

codeMethod · 0.80

Tested by

no test coverage detected