summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/http/helpers.cpp
diff options
context:
space:
mode:
authorhiddenpath <[email protected]>2025-06-04 09:56:51 +0300
committerhiddenpath <[email protected]>2025-06-04 10:16:36 +0300
commit01d772faec498be55a6c1808d2169c0eedb47491 (patch)
tree6357a3e5b20ac18627119d86a74721e9c89da7b4 /yt/cpp/mapreduce/http/helpers.cpp
parentb17040ae341a427a59fa6012d17c027b0384f3e9 (diff)
Remove unused ExtendGenericError method
commit_hash:70f08c3d0ef32d71b24bb9b41e770a7f9910ff60
Diffstat (limited to 'yt/cpp/mapreduce/http/helpers.cpp')
-rw-r--r--yt/cpp/mapreduce/http/helpers.cpp10
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