aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2025-02-13 21:22:45 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-02-13 21:34:40 +0300
commita487ac9a1cd2053ec24449dd6c4a7e70c1cc2b8d (patch)
tree4a0e8b194e5aec5c012c9394c52175a2873040fb
parentfff9e1383557f03c7f538dcfc309c0f9a029e5da (diff)
downloadydb-a487ac9a1cd2053ec24449dd6c4a7e70c1cc2b8d.tar.gz
Intermediate changes
commit_hash:e9f6c020292b2765a1e1003d7a0e0df966b8067a
-rw-r--r--yt/python/yt/common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/python/yt/common.py b/yt/python/yt/common.py
index 08c41bc810..975c6be6b0 100644
--- a/yt/python/yt/common.py
+++ b/yt/python/yt/common.py
@@ -359,6 +359,10 @@ class YtError(Exception):
"""Member is already present in group."""
return self.contains_code(908)
+ def is_prerequisite_check_failed(self):
+ """Prerequisite check failed."""
+ return self.contains_code(1000)
+
def is_prohibited_cross_cell_copy(self):
"""Cross-cell "copy"/"move" command is explicitly disabled."""
return self.contains_code(1002)