summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-03-31 00:01:06 +0300
committerrobot-piglet <[email protected]>2025-03-31 00:09:45 +0300
commite64230ea06a79c4e1bbd6eff06fe9cd49201178a (patch)
tree45751deb15e498e6ad33b784806053ddf86ed5bf
parent4c1de68653231a7ecf2d1099086b7149d74e1702 (diff)
Intermediate changes
commit_hash:ec8256acb7804107c5e5ff3e76e2184e4e15b09b
-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 26a9599e510..054c2698839 100644
--- a/yt/python/yt/common.py
+++ b/yt/python/yt/common.py
@@ -375,6 +375,10 @@ class YtError(Exception):
"""Probably lock conflict in Sequoia tables."""
return self.contains_code(6002)
+ def is_backup_checkpoint_rejected(self):
+ """Backup checkpoint rejected."""
+ return self.contains_code(1733)
+
class YtResponseError(YtError):
"""Represents an error in YT response."""