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

Method receive_answer_part_error

runners/proxy/ProxyRunningRequest.cpp:209–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void ProxyRunningRequest::receive_answer_part_error(ton::tl_object_ptr<cocoon_api::proxy_queryAnswerPartError> ans) {
210 auto final_info = create_final_info_from_old(std::move(ans->tokens_used_));
211 receive_answer_ex_impl(*ton::create_tl_object<cocoon_api::proxy_queryAnswerErrorEx>(
212 ans->request_id_, ans->error_code_, ans->error_, 1, std::move(final_info)));
213}
214
215void ProxyRunningRequest::fail(td::Status error) {
216 LOG(WARNING) << "proxy request " << id_.to_hex() << " is failed: " << error;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected