summaryrefslogtreecommitdiffstats
path: root/yt/python
diff options
context:
space:
mode:
Diffstat (limited to 'yt/python')
-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."""