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

Function IsHttpCode

library/cpp/http/misc/httpcodes.h:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86inline bool IsHttpCode(int code) noexcept {
87 return HttpCodeStrEx(code).data() != HttpCodeStrEx(0).data();
88}
89
90inline bool IsUserError(int code) noexcept {
91 return code >= 400 && code < 500;

Callers

nothing calls this directly

Calls 2

HttpCodeStrExFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected