MCPcopy Create free account
hub / github.com/catboost/catboost / OnError

Method OnError

library/cpp/neh/tcp2.cpp:1231–1236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1229 }
1230
1231 void OnError() {
1232 DBGOUT("Srv OnError(" << (!AS_ ? -666 : AS_->Native()) << ")"
1233 << " c=" << (size_t)this);
1234 Canceled_ = true;
1235 AS_->AsyncCancel();
1236 }
1237
1238 void OnReadSome(const TErrorCode& ec, size_t amount, IHandlingContext& ctx) {
1239 while (1) {

Callers

nothing calls this directly

Calls 2

NativeMethod · 0.80
AsyncCancelMethod · 0.45

Tested by

no test coverage detected