diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2025-02-13 21:22:45 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2025-02-13 21:34:40 +0300 |
commit | a487ac9a1cd2053ec24449dd6c4a7e70c1cc2b8d (patch) | |
tree | 4a0e8b194e5aec5c012c9394c52175a2873040fb | |
parent | fff9e1383557f03c7f538dcfc309c0f9a029e5da (diff) | |
download | ydb-a487ac9a1cd2053ec24449dd6c4a7e70c1cc2b8d.tar.gz |
Intermediate changes
commit_hash:e9f6c020292b2765a1e1003d7a0e0df966b8067a
-rw-r--r-- | yt/python/yt/common.py | 4 |
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) |