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

Method on_error

runners/TonlibWrapper.cpp:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 td::actor::send_closure(self_, &TonlibClientWrapperActor::on_result, id, std::move(result));
41 }
42 void on_error(std::uint64_t id, ton::tonlib_api::object_ptr<ton::tonlib_api::error> error) override {
43 td::actor::send_closure(self_, &TonlibClientWrapperActor::on_result, id,
44 td::Status::Error(error->code_, error->message_));
45 }
46
47 private:
48 td::actor::ActorId<TonlibClientWrapperActor> self_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected