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

Method OnError

library/cpp/neh/http2.cpp:1544–1548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1542 }
1543
1544 void OnError() {
1545 DBGOUT("Srv OnError(" << (!AS_ ? -666 : AS_->Native()) << ")");
1546 Canceled_ = true;
1547 AS_->AsyncCancel();
1548 }
1549
1550 void OnReadSome(const TErrorCode& ec, size_t amount, IHandlingContext& ctx) {
1551 if (ec || !amount) {

Callers

nothing calls this directly

Calls 2

NativeMethod · 0.80
AsyncCancelMethod · 0.45

Tested by

no test coverage detected