diff options
Diffstat (limited to 'yt/cpp/mapreduce/http/helpers.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/http/helpers.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/yt/cpp/mapreduce/http/helpers.cpp b/yt/cpp/mapreduce/http/helpers.cpp index c819e515b87..0e34610ef1a 100644 --- a/yt/cpp/mapreduce/http/helpers.cpp +++ b/yt/cpp/mapreduce/http/helpers.cpp @@ -100,16 +100,6 @@ void LogRequest(const THttpHeader& header, const TString& url, bool includeParam GetLoggedAttributes(header, url, includeParameters, Max<size_t>())); } -void ExtendGenericError(TErrorResponse& errorResponse, int code, TString message) -{ - const auto& error = errorResponse.GetError(); - - auto inner = error.InnerErrors(); - inner.emplace_back(code, std::move(message)); - - errorResponse.SetError(TYtError(error.GetCode(), error.GetMessage(), std::move(inner), error.GetAttributes())); -} - //////////////////////////////////////////////////////////////////////////////// } // namespace NYT |
