aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/errors.h
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-02-18 00:51:31 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-02-18 00:51:31 +0000
commitd46fe70ab3363efe215e4c7b142fb2e25e772f8e (patch)
tree1931cba78c3a24456f8f0dca6d80ba3cbc147acd /yt/cpp/mapreduce/interface/errors.h
parentc25b7ee30559ef027fbc049354af1debffb6c1c6 (diff)
parent8fe93946bc369873a7ffbb3a7403463aa80e3117 (diff)
downloadydb-d46fe70ab3363efe215e4c7b142fb2e25e772f8e.tar.gz
Merge branch 'rightlib' into merge-libs-250218-0050
Diffstat (limited to 'yt/cpp/mapreduce/interface/errors.h')
-rw-r--r--yt/cpp/mapreduce/interface/errors.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/errors.h b/yt/cpp/mapreduce/interface/errors.h
index 749b294f0f..a008ff07b8 100644
--- a/yt/cpp/mapreduce/interface/errors.h
+++ b/yt/cpp/mapreduce/interface/errors.h
@@ -182,6 +182,9 @@ public:
/// Check if error was caused by lack of permissions to execute request.
bool IsAccessDenied() const;
+ /// Check if error was caused by authorization issues.
+ bool IsUnauthorized() const;
+
/// Check if error was caused by failure to lock object because of another transaction is holding lock.
bool IsConcurrentTransactionLockConflict() const;