aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/errors.cpp
diff options
context:
space:
mode:
authorhiddenpath <hiddenpath@yandex-team.com>2025-02-18 12:34:23 +0300
committerhiddenpath <hiddenpath@yandex-team.com>2025-02-18 13:18:25 +0300
commitb8ac60a673bd416577ca37b911409acbd32c7be2 (patch)
treec7a831e31968ebea4fbcdcb60fcd406193f208f5 /yt/cpp/mapreduce/interface/errors.cpp
parent75f5993689410f06224ace8767c11e2c71093fde (diff)
downloadydb-b8ac60a673bd416577ca37b911409acbd32c7be2.tar.gz
YT-23616: Remove HttpCode from TErrorResponse
commit_hash:412a7a1e02eb68d388aff73a439e98f6f2dab8a6
Diffstat (limited to 'yt/cpp/mapreduce/interface/errors.cpp')
-rw-r--r--yt/cpp/mapreduce/interface/errors.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/yt/cpp/mapreduce/interface/errors.cpp b/yt/cpp/mapreduce/interface/errors.cpp
index fcc23fb3ac..5cd8b7193b 100644
--- a/yt/cpp/mapreduce/interface/errors.cpp
+++ b/yt/cpp/mapreduce/interface/errors.cpp
@@ -280,11 +280,6 @@ TString TYtError::FullDescription() const
////////////////////////////////////////////////////////////////////////////////
-TErrorResponse::TErrorResponse(int httpCode, const TString& requestId)
- : HttpCode_(httpCode)
- , RequestId_(requestId)
-{ }
-
TErrorResponse::TErrorResponse(TYtError error, const TString& requestId)
: RequestId_(requestId)
, Error_(std::move(error))
@@ -320,11 +315,6 @@ void TErrorResponse::SetIsFromTrailers(bool isFromTrailers)
IsFromTrailers_ = isFromTrailers;
}
-int TErrorResponse::GetHttpCode() const
-{
- return HttpCode_;
-}
-
bool TErrorResponse::IsFromTrailers() const
{
return IsFromTrailers_;