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

Function IsNotError

library/cpp/neh/http2.cpp:130–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 const NDns::TResolvedHost* Resolve(const TStringBuf host, ui16 port, NHttp::EResolverType resolverType);
129
130 bool IsNotError(unsigned httpCode) {
131 return (httpCode >= 200u && httpCode < (!THttp2Options::RedirectionNotError ? 300u : 400u)) || THttp2Options::AnyResponseIsNotError;
132 }
133}
134
135namespace {

Callers 1

OnResponseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected