aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/errors.h
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.h
parent75f5993689410f06224ace8767c11e2c71093fde (diff)
downloadydb-b8ac60a673bd416577ca37b911409acbd32c7be2.tar.gz
YT-23616: Remove HttpCode from TErrorResponse
commit_hash:412a7a1e02eb68d388aff73a439e98f6f2dab8a6
Diffstat (limited to 'yt/cpp/mapreduce/interface/errors.h')
-rw-r--r--yt/cpp/mapreduce/interface/errors.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/yt/cpp/mapreduce/interface/errors.h b/yt/cpp/mapreduce/interface/errors.h
index a008ff07b8..88ffc0b376 100644
--- a/yt/cpp/mapreduce/interface/errors.h
+++ b/yt/cpp/mapreduce/interface/errors.h
@@ -157,8 +157,6 @@ class TErrorResponse
: public yexception
{
public:
- TErrorResponse(int httpCode, const TString& requestId);
-
TErrorResponse(TYtError error, const TString& requestId);
/// Get error object returned by server.
@@ -167,9 +165,6 @@ public:
/// Get if (correlation-id) of request that was responded with error.
TString GetRequestId() const;
- /// Get HTTP code of response.
- int GetHttpCode() const;
-
/// Is error parsed from response trailers.
bool IsFromTrailers() const;
@@ -218,7 +213,6 @@ private:
void Setup();
private:
- int HttpCode_;
TString RequestId_;
TYtError Error_;
bool IsFromTrailers_ = false;