diff options
| author | denvr <[email protected]> | 2023-11-22 19:59:12 +0300 |
|---|---|---|
| committer | denvr <[email protected]> | 2023-11-22 23:23:38 +0300 |
| commit | 20c5a588aa9c8e1e8365cc5aad5961c537e88ffe (patch) | |
| tree | 6845c6fabf46fb91087aae059bdfbd650fa8dba3 /yt/python | |
| parent | 64fecd02b07c35c13008e2c653423e4f0a28d053 (diff) | |
YT-20442 - retries for cross cell copy
Diffstat (limited to 'yt/python')
| -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 b2ee8fb8db0..5a3d3e201b0 100644 --- a/yt/python/yt/common.py +++ b/yt/python/yt/common.py @@ -351,6 +351,10 @@ class YtError(Exception): """Member is already present in group""" return self.contains_code(908) + def is_prohibited_cross_cell_copy(self): + """Cross-cell "copy"/"move" command is explicitly disabled""" + return self.contains_code(1002) + class YtResponseError(YtError): """Represents an error in YT response.""" |
